_screen is only valid between show/hide.
[AROS.git] / rom / intuition / monitorclass_intern.h
blobdb778896bc7f3d47925a1233703ab0d0d7148f2c
1 struct IMonitorNode
3 /*
4 * Actually this is Node. However, some MorphOS source code
5 * directly checks MonitorName field, so for compatibility
6 * we keep it this way.
7 * We still want struct Node because in some other cases we use
8 * FindName() on our list.
9 */
10 struct MinNode node;
11 UBYTE type;
12 BYTE pri;
13 const char *MonitorName;
15 struct MonitorHandle *handle;
16 ULONG pixelformats[MONITOR_MAXPIXELFORMATS];
17 OOP_Object *pfobjects[MONITOR_MAXPIXELFORMATS];
19 Object *topleft;
20 Object *topmiddle;
21 Object *topright;
22 Object *middleleft;
23 Object *middleright;
24 Object *bottomleft;
25 Object *bottommiddle;
26 Object *bottomright;
28 struct SharedPointer *pointer;
29 ULONG mouseX;
30 ULONG mouseY;
32 UBYTE *gamma;
33 UBYTE *active_r;
34 UBYTE *active_b;
35 UBYTE *active_g;
36 UBYTE screenGamma;
38 IPTR SpriteType;
41 /* Offsets for gamma table */
42 #define GAMMA_R 0
43 #define GAMMA_G 256
44 #define GAMMA_B 512