ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/include/video_defs.h
(Generate patch)

Comparing SheepShaver/src/include/video_defs.h (file contents):
Revision 1.5 by gbeauche, 2004-04-22T21:45:17Z vs.
Revision 1.7 by gbeauche, 2005-01-30T21:48:21Z

# Line 1 | Line 1
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-2005 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
# Line 216 | Line 216 | enum { // VDSetEntry struct
216          csCount = 6
217   };
218  
219 + enum {  // VDGammaRecord
220 +        csGTable = 0
221 + };
222 +
223   enum {  // ColorSpec table entry
224          csValue = 0,
225          csRed = 2,
# Line 281 | Line 285 | enum { // VDDrawHardwareCursor/VDHardwar
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 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines