| Revision 24,
577 bytes
checked in by duggan, 18 months ago
(diff) |
|
Added logo. PulkoMandy?, can you please set this as the project logo on trac... Programmer art ftw
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * Copyright 2011 Dewey Taylor <james.dewey.taylor@gmail.com> |
|---|
| 3 | * All rights reserved. Distributed under the terms of the MIT license. |
|---|
| 4 | */ |
|---|
| 5 | #ifndef TOPOLOGY_H |
|---|
| 6 | #define TOPOLOGY_H |
|---|
| 7 | |
|---|
| 8 | #include <SupportDefs.h> |
|---|
| 9 | #include <Bitmap.h> |
|---|
| 10 | |
|---|
| 11 | struct ResolutionData |
|---|
| 12 | { |
|---|
| 13 | uint32 Width; |
|---|
| 14 | uint32 Height; |
|---|
| 15 | uint32 BPP; |
|---|
| 16 | uint32 Refresh; |
|---|
| 17 | }; |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | struct HeadData |
|---|
| 21 | { |
|---|
| 22 | uint32 Index; |
|---|
| 23 | bool Connected; |
|---|
| 24 | uint32 ResolutionCount; |
|---|
| 25 | uint32 CurrentResolution; |
|---|
| 26 | ResolutionData* Resolutions; |
|---|
| 27 | BBitmap* Framebuffer; |
|---|
| 28 | }; |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | struct DeviceData |
|---|
| 32 | { |
|---|
| 33 | uint32 HeadCount; |
|---|
| 34 | BString DeviceID; |
|---|
| 35 | HeadData* Heads; |
|---|
| 36 | }; |
|---|
| 37 | |
|---|
| 38 | #endif // TOPOLOGY_H |
|---|
Note: See
TracBrowser
for help on using the repository browser.