1 |
|
/* |
2 |
|
* video_defs.h - MacOS types and structures for video |
3 |
|
* |
4 |
< |
* SheepShaver (C) 1997-2004 Marc Hellwig and Christian Bauer |
4 |
> |
* SheepShaver (C) 1997-2008 Marc Hellwig and Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
216 |
|
csCount = 6 |
217 |
|
}; |
218 |
|
|
219 |
+ |
enum { // VDGammaRecord |
220 |
+ |
csGTable = 0 |
221 |
+ |
}; |
222 |
+ |
|
223 |
|
enum { // ColorSpec table entry |
224 |
|
csValue = 0, |
225 |
|
csRed = 2, |
285 |
|
csCursorSet = 12 |
286 |
|
}; |
287 |
|
|
288 |
< |
struct GammaTbl { |
289 |
< |
uint16 gVersion; |
290 |
< |
uint16 gType; |
291 |
< |
uint16 gFormulaSize; |
292 |
< |
uint16 gChanCnt; |
293 |
< |
uint16 gDataCnt; |
294 |
< |
uint16 gDataWidth; |
295 |
< |
uint16 gFormulaData[1]; |
288 |
> |
enum { // struct GammaTbl |
289 |
> |
gVersion = 0, |
290 |
> |
gType = 2, |
291 |
> |
gFormulaSize = 4, |
292 |
> |
gChanCnt = 6, |
293 |
> |
gDataCnt = 8, |
294 |
> |
gDataWidth = 10, |
295 |
> |
gFormulaData = 12, // variable size |
296 |
> |
SIZEOF_GammaTbl = 12 |
297 |
|
}; |
298 |
|
|
299 |
|
enum { |