Logo ROOT  
Reference Guide
GuiTypes.h
Go to the documentation of this file.
1 /* @(#)root/base:$Id$ */
2 
3 /*************************************************************************
4  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
5  * All rights reserved. *
6  * *
7  * For the licensing terms see $ROOTSYS/LICENSE. *
8  * For the list of contributors see $ROOTSYS/README/CREDITS. *
9  *************************************************************************/
10 
11 #ifndef ROOT_GuiTypes
12 #define ROOT_GuiTypes
13 
14 //////////////////////////////////////////////////////////////////////////
15 // //
16 // GuiTypes //
17 // //
18 // Types used by the GUI classes. //
19 // //
20 //////////////////////////////////////////////////////////////////////////
21 
22 #include "Rtypes.h"
23 
24 // Basic GUI types
25 typedef ULong_t Handle_t; //Generic resource handle
26 typedef Handle_t Display_t; //Display handle
27 typedef Handle_t Visual_t; //Visual handle
28 typedef Handle_t Window_t; //Window handle
29 typedef Handle_t Pixmap_t; //Pixmap handle
30 typedef Handle_t Drawable_t; //Drawable handle
31 typedef Handle_t Region_t; //Region handle
32 typedef Handle_t Colormap_t; //Colormap handle
33 typedef Handle_t Cursor_t; //Cursor handle
34 typedef Handle_t FontH_t; //Font handle (as opposed to Font_t which is an index)
35 typedef Handle_t KeySym_t; //Key symbol handle
36 typedef Handle_t Atom_t; //WM token
37 typedef Handle_t GContext_t; //Graphics context handle
38 typedef Handle_t FontStruct_t; //Pointer to font structure
39 typedef ULong_t Pixel_t; //Pixel value
40 typedef UInt_t Mask_t; //Structure mask type
41 typedef ULong_t Time_t; //Event time
42 
54 };
55 
56 // GUI event types. Later merge with EEventType in Button.h and rename to
57 // EEventTypes. Also rename in that case kGKeyPress to kKeyPress.
64 };
65 
67  kGXclear = 0, // 0
68  kGXand, // src AND dst
69  kGXandReverse, // src AND NOT dst
70  kGXcopy, // src
71  kGXandInverted, // NOT src AND dst
72  kGXnoop, // dst
73  kGXxor, // src XOR dst
74  kGXor, // src OR dst
75  kGXnor, // NOT src AND NOT dst
76  kGXequiv, // NOT src XOR dst
77  kGXinvert, // NOT dst
78  kGXorReverse, // src OR NOT dst
79  kGXcopyInverted, // NOT src
80  kGXorInverted, // NOT src OR dst
81  kGXnand, // NOT src OR NOT dst
82  kGXset // 1
83 };
84 
85 enum { kDefaultScrollBarWidth = 16 };
86 
87 const Handle_t kNone = 0;
90 
91 // Attributes that can be used when creating or changing a window
93  Pixmap_t fBackgroundPixmap; // background or kNone or kParentRelative
94  ULong_t fBackgroundPixel; // background pixel
95  Pixmap_t fBorderPixmap; // border of the window
96  ULong_t fBorderPixel; // border pixel value
97  UInt_t fBorderWidth; // border width in pixels
98  Int_t fBitGravity; // one of bit gravity values
99  Int_t fWinGravity; // one of the window gravity values
100  Int_t fBackingStore; // kNotUseful, kWhenMapped, kAlways
101  ULong_t fBackingPlanes; // planes to be preseved if possible
102  ULong_t fBackingPixel; // value to use in restoring planes
103  Bool_t fSaveUnder; // should bits under be saved (popups)?
104  Long_t fEventMask; // set of events that should be saved
105  Long_t fDoNotPropagateMask; // set of events that should not propagate
106  Bool_t fOverrideRedirect; // boolean value for override-redirect
107  Colormap_t fColormap; // color map to be associated with window
108  Cursor_t fCursor; // cursor to be displayed (or kNone)
109  Mask_t fMask; // bit mask specifying which fields are valid
110 };
111 
112 // Window attributes that can be inquired
114  Int_t fX, fY; // location of window
115  Int_t fWidth, fHeight; // width and height of window
116  Int_t fBorderWidth; // border width of window
117  Int_t fDepth; // depth of window
118  void *fVisual; // the associated visual structure
119  Window_t fRoot; // root of screen containing window
120  Int_t fClass; // kInputOutput, kInputOnly
121  Int_t fBitGravity; // one of bit gravity values
122  Int_t fWinGravity; // one of the window gravity values
123  Int_t fBackingStore; // kNotUseful, kWhenMapped, kAlways
124  ULong_t fBackingPlanes; // planes to be preserved if possible
125  ULong_t fBackingPixel; // value to be used when restoring planes
126  Bool_t fSaveUnder; // boolean, should bits under be saved?
127  Colormap_t fColormap; // color map to be associated with window
128  Bool_t fMapInstalled; // boolean, is color map currently installed
129  Int_t fMapState; // kIsUnmapped, kIsUnviewable, kIsViewable
130  Long_t fAllEventMasks; // set of events all people have interest in
131  Long_t fYourEventMask; // my event mask
132  Long_t fDoNotPropagateMask; // set of events that should not propagate
133  Bool_t fOverrideRedirect; // boolean value for override-redirect
134  void *fScreen; // back pointer to correct screen
135 };
136 
137 // Bits telling which SetWindowAttributes_t fields are valid
149 const Mask_t kWASaveUnder = BIT(11);
150 const Mask_t kWAEventMask = BIT(12);
152 const Mask_t kWAColormap = BIT(14);
153 const Mask_t kWACursor = BIT(15);
154 
155 // Input event masks, used to set SetWindowAttributes_t::fEventMask
156 // and to be passed to TVirtualX::SelectInput()
171 
172 // Event structure
173 struct Event_t {
174  EGEventType fType; // of event (see EGEventType)
175  Window_t fWindow; // window reported event is relative to
176  Time_t fTime; // time event event occured in ms
177  Int_t fX, fY; // pointer x, y coordinates in event window
178  Int_t fXRoot, fYRoot; // coordinates relative to root
179  UInt_t fCode; // key or button code
180  UInt_t fState; // key or button mask
181  UInt_t fWidth, fHeight; // width and height of exposed area
182  Int_t fCount; // if non-zero, at least this many more exposes
183  Bool_t fSendEvent; // true if event came from SendEvent
184  Handle_t fHandle; // general resource handle (used for atoms or windows)
185  Int_t fFormat; // Next fields only used by kClientMessageEvent
186  Long_t fUser[5]; // 5 longs can be used by client message events
187  // NOTE: only [0], [1] and [2] may be used.
188  // [1] and [2] may contain >32 bit quantities
189  // (i.e. pointers on 64 bit machines)
190 };
191 
192 // Key masks, used as modifiers to GrabButton and GrabKey and
193 // in Event_t::fState in various key-, mouse-, and button-related events
197 const Mask_t kKeyMod1Mask = BIT(3); // typically the Alt key
198 const Mask_t kKeyMod2Mask = BIT(4); // typically mod on numeric keys
204 const Mask_t kButton3Mask = BIT(10);
205 const Mask_t kButton4Mask = BIT(11);
206 const Mask_t kButton5Mask = BIT(12);
207 const Mask_t kButton6Mask = BIT(13);
208 const Mask_t kButton7Mask = BIT(14);
209 const Mask_t kAnyModifier = BIT(15);
210 
211 // Button names. Used as arguments to GrabButton and as Event_t::fCode
212 // for button events. Maps to the X11 values.
215 
216 // Some magic X notify modes used in TGTextEntry widget.
217 // Values must match the ones in /usr/include/X11/X.h. Check when porting.
221 
222 // Graphics context structure
223 struct GCValues_t {
224  EGraphicsFunction fFunction; // logical operation
225  ULong_t fPlaneMask; // plane mask
226  ULong_t fForeground; // foreground pixel
227  ULong_t fBackground; // background pixel
228  Int_t fLineWidth; // line width
229  Int_t fLineStyle; // kLineSolid, kLineOnOffDash, kLineDoubleDash
230  Int_t fCapStyle; // kCapNotLast, kCapButt,
231  // kCapRound, kCapProjecting
232  Int_t fJoinStyle; // kJoinMiter, kJoinRound, kJoinBevel
233  Int_t fFillStyle; // kFillSolid, kFillTiled,
234  // kFillStippled, kFillOpaeueStippled
235  Int_t fFillRule; // kEvenOddRule, kWindingRule
236  Int_t fArcMode; // kArcChord, kArcPieSlice
237  Pixmap_t fTile; // tile pixmap for tiling operations
238  Pixmap_t fStipple; // stipple 1 plane pixmap for stipping
239  Int_t fTsXOrigin; // offset for tile or stipple operations
241  FontH_t fFont; // default text font for text operations
242  Int_t fSubwindowMode; // kClipByChildren, kIncludeInferiors
243  Bool_t fGraphicsExposures; // boolean, should exposures be generated
244  Int_t fClipXOrigin; // origin for clipping
246  Pixmap_t fClipMask; // bitmap clipping; other calls for rects
247  Int_t fDashOffset; // patterned/dashed line information
248  Char_t fDashes[8]; // dash pattern list (dash length per byte)
249  Int_t fDashLen; // number of dashes in fDashes
250  Mask_t fMask; // bit mask specifying which fields are valid
251 
252  GCValues_t() : // default constructor
253  fFunction (kGXcopy),
254  fPlaneMask (0),
255  fForeground (0),
256  fBackground (1),
257  fLineWidth (0),
264  fTile (0),
265  fStipple (0),
266  fTsXOrigin (0),
267  fTsYOrigin (0),
268  fFont (0),
271  fClipXOrigin (0),
272  fClipYOrigin (0),
273  fClipMask (0),
274  fDashOffset (0),
275  fDashLen (2),
276  fMask (0)
277  {
278  for (int i = 2; i < 8; i++) fDashes[i] = 0;
279  fDashes[0] = 5; // dashed
280  fDashes[1] = 5;
281  }
282 };
283 
284 // Bits telling which GCValues_t fields are valid
285 const Mask_t kGCFunction = BIT(0);
291 const Mask_t kGCCapStyle = BIT(6);
294 const Mask_t kGCFillRule = BIT(9);
295 const Mask_t kGCTile = BIT(10);
296 const Mask_t kGCStipple = BIT(11);
299 const Mask_t kGCFont = BIT(14);
304 const Mask_t kGCClipMask = BIT(19);
306 const Mask_t kGCDashList = BIT(21);
307 const Mask_t kGCArcMode = BIT(22);
308 
310  ULong_t fPixel; // color pixel value (index in color table)
311  UShort_t fRed; // red component (0..65535)
312  UShort_t fGreen; // green component (0..65535)
313  UShort_t fBlue; // blue component (0..65535)
314  UShort_t fMask; // mask telling which color components are valid
315 };
316 
317 // Bits telling which ColorStruct_t fields are valid
318 const Mask_t kDoRed = BIT(0);
319 const Mask_t kDoGreen = BIT(1);
320 const Mask_t kDoBlue = BIT(2);
321 
323  Colormap_t fColormap; // colormap to use
324  Int_t fDepth; // depth of window
325  UInt_t fWidth; // width of picture
326  UInt_t fHeight; // height of picture
327  UInt_t fXHotspot; // picture x hotspot coordinate
328  UInt_t fYHotspot; // picture y hotspot coordinate
329  ULong_t *fPixels; // list of used color pixels (if set use delete[])
330  UInt_t fNpixels; // number of used color pixels
331  UInt_t fCloseness; // allowable RGB deviation
332  Mask_t fMask; // mask specifying which attributes are defined
333 };
334 
335 // PictureAttributes_t masks bits
336 const Mask_t kPAColormap = BIT(0);
337 const Mask_t kPADepth = BIT(1);
338 const Mask_t kPASize = BIT(2); // width and height
339 const Mask_t kPAHotspot = BIT(3); // x and y hotspot
342 
343 // Initial window mapping state
346  kIconicState = BIT(1)
347 };
348 
349 // Used for drawing line segments (maps to the X11 XSegments structure)
350 struct Segment_t {
352 };
353 
354 // Point structure (maps to the X11 XPoint structure)
355 struct Point_t {
357 };
358 
359 // Rectangle structure (maps to the X11 XRectangle structure)
360 struct Rectangle_t {
363 };
364 
365 // Atoms used for text cut and paste between windows
366 const Atom_t kPrimarySelection = 1; // magic values, must match the ones
367 const Atom_t kCutBuffer = 9; // in /usr/include/X11/Xatom.h
368 const Int_t kMaxPixel = 32000;
369 
370 const int kNumCursors = 19;
375 
376 //---- types of frames (and borders), moved from TGFrame.h
377 
395  kMdiFrame = BIT(14)
396 };
397 
398 
399 #endif
kWhenMapped
@ kWhenMapped
Definition: GuiTypes.h:44
kDoBlue
const Mask_t kDoBlue
Definition: GuiTypes.h:320
kGCTileStipXOrigin
const Mask_t kGCTileStipXOrigin
Definition: GuiTypes.h:297
Event_t::fType
EGEventType fType
Definition: GuiTypes.h:174
ColorStruct_t::fBlue
UShort_t fBlue
Definition: GuiTypes.h:313
kWABorderPixel
const Mask_t kWABorderPixel
Definition: GuiTypes.h:141
kWABackingStore
const Mask_t kWABackingStore
Definition: GuiTypes.h:145
WindowAttributes_t::fBackingPixel
ULong_t fBackingPixel
Definition: GuiTypes.h:125
kButton2
@ kButton2
Definition: GuiTypes.h:213
Event_t::fState
UInt_t fState
Definition: GuiTypes.h:180
SetWindowAttributes_t::fSaveUnder
Bool_t fSaveUnder
Definition: GuiTypes.h:103
kGCTileStipYOrigin
const Mask_t kGCTileStipYOrigin
Definition: GuiTypes.h:298
Point_t::fX
Short_t fX
Definition: GuiTypes.h:356
kLeftSide
@ kLeftSide
Definition: GuiTypes.h:372
Event_t::fY
Int_t fY
Definition: GuiTypes.h:177
GCValues_t::fJoinStyle
Int_t fJoinStyle
Definition: GuiTypes.h:232
SetWindowAttributes_t::fBitGravity
Int_t fBitGravity
Definition: GuiTypes.h:98
Event_t::fX
Int_t fX
Definition: GuiTypes.h:177
kWABorderWidth
const Mask_t kWABorderWidth
Definition: GuiTypes.h:142
KeySym_t
Handle_t KeySym_t
Definition: GuiTypes.h:35
Region_t
Handle_t Region_t
Definition: GuiTypes.h:31
kArcPieSlice
@ kArcPieSlice
Definition: GuiTypes.h:53
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
Pixmap_t
Handle_t Pixmap_t
Definition: GuiTypes.h:29
kFixedWidth
@ kFixedWidth
Definition: GuiTypes.h:387
ColorStruct_t::fPixel
ULong_t fPixel
Definition: GuiTypes.h:310
Display_t
Handle_t Display_t
Definition: GuiTypes.h:26
SetWindowAttributes_t::fEventMask
Long_t fEventMask
Definition: GuiTypes.h:104
kWADontPropagate
const Mask_t kWADontPropagate
Definition: GuiTypes.h:151
kButton5Mask
const Mask_t kButton5Mask
Definition: GuiTypes.h:206
SetWindowAttributes_t::fBackingPlanes
ULong_t fBackingPlanes
Definition: GuiTypes.h:101
kTopSide
@ kTopSide
Definition: GuiTypes.h:372
kGCArcMode
const Mask_t kGCArcMode
Definition: GuiTypes.h:307
kAnyModifier
const Mask_t kAnyModifier
Definition: GuiTypes.h:209
PictureAttributes_t::fPixels
ULong_t * fPixels
Definition: GuiTypes.h:329
kRightSide
@ kRightSide
Definition: GuiTypes.h:372
kAlways
@ kAlways
Definition: GuiTypes.h:44
kLeaveNotify
@ kLeaveNotify
Definition: GuiTypes.h:60
PictureAttributes_t::fWidth
UInt_t fWidth
Definition: GuiTypes.h:325
kPointerMotionMask
const Mask_t kPointerMotionMask
Definition: GuiTypes.h:162
kLineSolid
@ kLineSolid
Definition: GuiTypes.h:47
kColormapUninstalled
@ kColormapUninstalled
Definition: GuiTypes.h:219
ECursor
ECursor
Definition: GuiTypes.h:371
UShort_t
unsigned short UShort_t
Definition: RtypesCore.h:40
kGXorReverse
@ kGXorReverse
Definition: GuiTypes.h:78
kArrowVer
@ kArrowVer
Definition: GuiTypes.h:373
kIsUnmapped
@ kIsUnmapped
Definition: GuiTypes.h:45
ColorStruct_t
Definition: GuiTypes.h:309
Rectangle_t
Definition: GuiTypes.h:360
kAnyButton
@ kAnyButton
Definition: GuiTypes.h:213
Pixel_t
ULong_t Pixel_t
Definition: GuiTypes.h:39
kIsViewable
@ kIsViewable
Definition: GuiTypes.h:45
kCutBuffer
const Atom_t kCutBuffer
Definition: GuiTypes.h:367
GCValues_t::fStipple
Pixmap_t fStipple
Definition: GuiTypes.h:238
FontH_t
Handle_t FontH_t
Definition: GuiTypes.h:34
kFillStippled
@ kFillStippled
Definition: GuiTypes.h:50
Point_t
Definition: GuiTypes.h:355
kBottomLeft
@ kBottomLeft
Definition: GuiTypes.h:371
kNotifyNormal
@ kNotifyNormal
Definition: GuiTypes.h:218
SetWindowAttributes_t::fBackgroundPixmap
Pixmap_t fBackgroundPixmap
Definition: GuiTypes.h:93
Event_t::fHeight
UInt_t fHeight
Definition: GuiTypes.h:181
kLineDoubleDash
@ kLineDoubleDash
Definition: GuiTypes.h:47
kVerticalFrame
@ kVerticalFrame
Definition: GuiTypes.h:381
FontStruct_t
Handle_t FontStruct_t
Definition: GuiTypes.h:38
GCValues_t::fClipXOrigin
Int_t fClipXOrigin
Definition: GuiTypes.h:244
kGCClipMask
const Mask_t kGCClipMask
Definition: GuiTypes.h:304
kInputOnly
@ kInputOnly
Definition: GuiTypes.h:46
Segment_t::fX1
Short_t fX1
Definition: GuiTypes.h:351
kGXandInverted
@ kGXandInverted
Definition: GuiTypes.h:71
kKeyLockMask
const Mask_t kKeyLockMask
Definition: GuiTypes.h:195
WindowAttributes_t::fAllEventMasks
Long_t fAllEventMasks
Definition: GuiTypes.h:130
kConfigureNotify
@ kConfigureNotify
Definition: GuiTypes.h:61
kMainFrame
@ kMainFrame
Definition: GuiTypes.h:380
kWAColormap
const Mask_t kWAColormap
Definition: GuiTypes.h:152
kKeyMod3Mask
const Mask_t kKeyMod3Mask
Definition: GuiTypes.h:199
SetWindowAttributes_t::fBorderWidth
UInt_t fBorderWidth
Definition: GuiTypes.h:97
kButton7Mask
const Mask_t kButton7Mask
Definition: GuiTypes.h:208
kButton4
@ kButton4
Definition: GuiTypes.h:214
GCValues_t
Definition: GuiTypes.h:223
kColormapChangeMask
const Mask_t kColormapChangeMask
Definition: GuiTypes.h:170
kUnmapNotify
@ kUnmapNotify
Definition: GuiTypes.h:61
WindowAttributes_t
Definition: GuiTypes.h:113
kMaxPixel
const Int_t kMaxPixel
Definition: GuiTypes.h:368
kGXequiv
@ kGXequiv
Definition: GuiTypes.h:76
GCValues_t::fDashes
Char_t fDashes[8]
Definition: GuiTypes.h:248
kFillSolid
@ kFillSolid
Definition: GuiTypes.h:50
Int_t
int Int_t
Definition: RtypesCore.h:45
kTempFrame
@ kTempFrame
Definition: GuiTypes.h:393
Event_t::fFormat
Int_t fFormat
Definition: GuiTypes.h:185
GCValues_t::fFillStyle
Int_t fFillStyle
Definition: GuiTypes.h:233
kKeyMod2Mask
const Mask_t kKeyMod2Mask
Definition: GuiTypes.h:198
kClientMessage
@ kClientMessage
Definition: GuiTypes.h:62
GCValues_t::fTsXOrigin
Int_t fTsXOrigin
Definition: GuiTypes.h:239
kArrowHor
@ kArrowHor
Definition: GuiTypes.h:373
kEnterNotify
@ kEnterNotify
Definition: GuiTypes.h:60
kGCFillRule
const Mask_t kGCFillRule
Definition: GuiTypes.h:294
SetWindowAttributes_t::fColormap
Colormap_t fColormap
Definition: GuiTypes.h:107
kButton1
@ kButton1
Definition: GuiTypes.h:213
kCopyFromParent
const Handle_t kCopyFromParent
Definition: GuiTypes.h:88
kButton2Mask
const Mask_t kButton2Mask
Definition: GuiTypes.h:203
kKeyMod1Mask
const Mask_t kKeyMod1Mask
Definition: GuiTypes.h:197
SetWindowAttributes_t::fBackgroundPixel
ULong_t fBackgroundPixel
Definition: GuiTypes.h:94
kSelectionClear
@ kSelectionClear
Definition: GuiTypes.h:62
kBottomSide
@ kBottomSide
Definition: GuiTypes.h:372
kButtonDoubleClick
@ kButtonDoubleClick
Definition: GuiTypes.h:63
kMove
@ kMove
Definition: GuiTypes.h:373
kEvenOddRule
@ kEvenOddRule
Definition: GuiTypes.h:51
kColormapInstalled
@ kColormapInstalled
Definition: GuiTypes.h:220
kFocusOut
@ kFocusOut
Definition: GuiTypes.h:60
GCValues_t::fFillRule
Int_t fFillRule
Definition: GuiTypes.h:235
kMdiMainFrame
@ kMdiMainFrame
Definition: GuiTypes.h:394
EMouseButton
EMouseButton
Definition: GuiTypes.h:213
kDestroyNotify
@ kDestroyNotify
Definition: GuiTypes.h:61
kNotifyPointer
@ kNotifyPointer
Definition: GuiTypes.h:219
WindowAttributes_t::fMapInstalled
Bool_t fMapInstalled
Definition: GuiTypes.h:128
kGXor
@ kGXor
Definition: GuiTypes.h:74
kDoRed
const Mask_t kDoRed
Definition: GuiTypes.h:318
WindowAttributes_t::fWinGravity
Int_t fWinGravity
Definition: GuiTypes.h:122
Point_t::fY
Short_t fY
Definition: GuiTypes.h:356
kPAColormap
const Mask_t kPAColormap
Definition: GuiTypes.h:336
kDoGreen
const Mask_t kDoGreen
Definition: GuiTypes.h:319
kButtonPressMask
const Mask_t kButtonPressMask
Definition: GuiTypes.h:160
kNoDrop
@ kNoDrop
Definition: GuiTypes.h:374
SetWindowAttributes_t::fMask
Mask_t fMask
Definition: GuiTypes.h:109
kWACursor
const Mask_t kWACursor
Definition: GuiTypes.h:153
WindowAttributes_t::fBackingStore
Int_t fBackingStore
Definition: GuiTypes.h:123
kDoubleBorder
@ kDoubleBorder
Definition: GuiTypes.h:385
kButton3Mask
const Mask_t kButton3Mask
Definition: GuiTypes.h:204
PictureAttributes_t::fYHotspot
UInt_t fYHotspot
Definition: GuiTypes.h:328
kGXnoop
@ kGXnoop
Definition: GuiTypes.h:72
kBottomRight
@ kBottomRight
Definition: GuiTypes.h:371
Visual_t
Handle_t Visual_t
Definition: GuiTypes.h:27
kIsUnviewable
@ kIsUnviewable
Definition: GuiTypes.h:45
kOwnBackground
@ kOwnBackground
Definition: GuiTypes.h:391
GCValues_t::fPlaneMask
ULong_t fPlaneMask
Definition: GuiTypes.h:225
kGXorInverted
@ kGXorInverted
Definition: GuiTypes.h:80
Rectangle_t::fY
Short_t fY
Definition: GuiTypes.h:361
WindowAttributes_t::fDepth
Int_t fDepth
Definition: GuiTypes.h:117
bool
kLeaveWindowMask
const Mask_t kLeaveWindowMask
Definition: GuiTypes.h:167
kGCLineStyle
const Mask_t kGCLineStyle
Definition: GuiTypes.h:290
Cursor_t
Handle_t Cursor_t
Definition: GuiTypes.h:33
PictureAttributes_t::fDepth
Int_t fDepth
Definition: GuiTypes.h:324
kWindingRule
@ kWindingRule
Definition: GuiTypes.h:51
WindowAttributes_t::fBorderWidth
Int_t fBorderWidth
Definition: GuiTypes.h:116
kButton7
@ kButton7
Definition: GuiTypes.h:214
WindowAttributes_t::fWidth
Int_t fWidth
Definition: GuiTypes.h:115
kOwnerGrabButtonMask
const Mask_t kOwnerGrabButtonMask
Definition: GuiTypes.h:169
kWASaveUnder
const Mask_t kWASaveUnder
Definition: GuiTypes.h:149
kGXcopyInverted
@ kGXcopyInverted
Definition: GuiTypes.h:79
WindowAttributes_t::fHeight
Int_t fHeight
Definition: GuiTypes.h:115
GCValues_t::fTsYOrigin
Int_t fTsYOrigin
Definition: GuiTypes.h:240
kArrowRight
@ kArrowRight
Definition: GuiTypes.h:374
kWatch
@ kWatch
Definition: GuiTypes.h:374
kTransientFrame
@ kTransientFrame
Definition: GuiTypes.h:392
Drawable_t
Handle_t Drawable_t
Definition: GuiTypes.h:30
kWABitGravity
const Mask_t kWABitGravity
Definition: GuiTypes.h:143
GContext_t
Handle_t GContext_t
Definition: GuiTypes.h:37
kGXnand
@ kGXnand
Definition: GuiTypes.h:81
kGCJoinStyle
const Mask_t kGCJoinStyle
Definition: GuiTypes.h:292
EGuiConstants
EGuiConstants
Definition: GuiTypes.h:43
Rectangle_t::fX
Short_t fX
Definition: GuiTypes.h:361
WindowAttributes_t::fVisual
void * fVisual
Definition: GuiTypes.h:118
GCValues_t::fSubwindowMode
Int_t fSubwindowMode
Definition: GuiTypes.h:242
kNone
const Handle_t kNone
Definition: GuiTypes.h:87
kIconicState
@ kIconicState
Definition: GuiTypes.h:346
kWABorderPixmap
const Mask_t kWABorderPixmap
Definition: GuiTypes.h:140
GCValues_t::fArcMode
Int_t fArcMode
Definition: GuiTypes.h:236
kSunkenFrame
@ kSunkenFrame
Definition: GuiTypes.h:383
kSelectionRequest
@ kSelectionRequest
Definition: GuiTypes.h:62
kLineOnOffDash
@ kLineOnOffDash
Definition: GuiTypes.h:47
kCapProjecting
@ kCapProjecting
Definition: GuiTypes.h:48
kRotate
@ kRotate
Definition: GuiTypes.h:373
kNoEventMask
const Mask_t kNoEventMask
Definition: GuiTypes.h:157
kNumCursors
const int kNumCursors
Definition: GuiTypes.h:370
kGXinvert
@ kGXinvert
Definition: GuiTypes.h:77
Event_t::fHandle
Handle_t fHandle
Definition: GuiTypes.h:184
kFixedHeight
@ kFixedHeight
Definition: GuiTypes.h:389
SetWindowAttributes_t::fDoNotPropagateMask
Long_t fDoNotPropagateMask
Definition: GuiTypes.h:105
kJoinMiter
@ kJoinMiter
Definition: GuiTypes.h:49
kTopLeft
@ kTopLeft
Definition: GuiTypes.h:371
kOtherEvent
@ kOtherEvent
Definition: GuiTypes.h:63
kGCFillStyle
const Mask_t kGCFillStyle
Definition: GuiTypes.h:293
kKeyRelease
@ kKeyRelease
Definition: GuiTypes.h:59
Colormap_t
Handle_t Colormap_t
Definition: GuiTypes.h:32
SetWindowAttributes_t::fWinGravity
Int_t fWinGravity
Definition: GuiTypes.h:99
SetWindowAttributes_t::fBackingPixel
ULong_t fBackingPixel
Definition: GuiTypes.h:102
kGKeyPress
@ kGKeyPress
Definition: GuiTypes.h:59
kButton3
@ kButton3
Definition: GuiTypes.h:213
SetWindowAttributes_t::fOverrideRedirect
Bool_t fOverrideRedirect
Definition: GuiTypes.h:106
kNormalState
@ kNormalState
Definition: GuiTypes.h:345
kPAReturnPixels
const Mask_t kPAReturnPixels
Definition: GuiTypes.h:340
Atom_t
Handle_t Atom_t
Definition: GuiTypes.h:36
Event_t::fSendEvent
Bool_t fSendEvent
Definition: GuiTypes.h:183
kGXandReverse
@ kGXandReverse
Definition: GuiTypes.h:69
kPASize
const Mask_t kPASize
Definition: GuiTypes.h:338
kGCFunction
const Mask_t kGCFunction
Definition: GuiTypes.h:285
Event_t::fCode
UInt_t fCode
Definition: GuiTypes.h:179
kWAWinGravity
const Mask_t kWAWinGravity
Definition: GuiTypes.h:144
WindowAttributes_t::fBitGravity
Int_t fBitGravity
Definition: GuiTypes.h:121
kFitHeight
@ kFitHeight
Definition: GuiTypes.h:388
GCValues_t::fLineStyle
Int_t fLineStyle
Definition: GuiTypes.h:229
kCross
@ kCross
Definition: GuiTypes.h:373
ColorStruct_t::fGreen
UShort_t fGreen
Definition: GuiTypes.h:312
kGCForeground
const Mask_t kGCForeground
Definition: GuiTypes.h:287
Event_t::fWidth
UInt_t fWidth
Definition: GuiTypes.h:181
kButtonPress
@ kButtonPress
Definition: GuiTypes.h:59
Long_t
long Long_t
Definition: RtypesCore.h:54
ColorStruct_t::fRed
UShort_t fRed
Definition: GuiTypes.h:311
kGCGraphicsExposures
const Mask_t kGCGraphicsExposures
Definition: GuiTypes.h:301
SetWindowAttributes_t::fBackingStore
Int_t fBackingStore
Definition: GuiTypes.h:100
GCValues_t::fFont
FontH_t fFont
Definition: GuiTypes.h:241
kButtonReleaseMask
const Mask_t kButtonReleaseMask
Definition: GuiTypes.h:161
kButtonRelease
@ kButtonRelease
Definition: GuiTypes.h:59
kArcChord
@ kArcChord
Definition: GuiTypes.h:53
Segment_t::fX2
Short_t fX2
Definition: GuiTypes.h:351
kKeyMod4Mask
const Mask_t kKeyMod4Mask
Definition: GuiTypes.h:200
kGCFont
const Mask_t kGCFont
Definition: GuiTypes.h:299
kPAHotspot
const Mask_t kPAHotspot
Definition: GuiTypes.h:339
kGCCapStyle
const Mask_t kGCCapStyle
Definition: GuiTypes.h:291
GCValues_t::fBackground
ULong_t fBackground
Definition: GuiTypes.h:227
BIT
#define BIT(n)
Definition: Rtypes.h:85
kGCLineWidth
const Mask_t kGCLineWidth
Definition: GuiTypes.h:289
GCValues_t::fDashOffset
Int_t fDashOffset
Definition: GuiTypes.h:247
Window_t
Handle_t Window_t
Definition: GuiTypes.h:28
UInt_t
unsigned int UInt_t
Definition: RtypesCore.h:46
kMotionNotify
@ kMotionNotify
Definition: GuiTypes.h:60
kFixedSize
@ kFixedSize
Definition: GuiTypes.h:390
PictureAttributes_t::fXHotspot
UInt_t fXHotspot
Definition: GuiTypes.h:327
PictureAttributes_t::fCloseness
UInt_t fCloseness
Definition: GuiTypes.h:331
ULong_t
unsigned long ULong_t
Definition: RtypesCore.h:55
kPADepth
const Mask_t kPADepth
Definition: GuiTypes.h:337
Short_t
short Short_t
Definition: RtypesCore.h:39
GCValues_t::fGraphicsExposures
Bool_t fGraphicsExposures
Definition: GuiTypes.h:243
Segment_t::fY2
Short_t fY2
Definition: GuiTypes.h:351
WindowAttributes_t::fY
Int_t fY
Definition: GuiTypes.h:114
Event_t::fXRoot
Int_t fXRoot
Definition: GuiTypes.h:178
kGCBackground
const Mask_t kGCBackground
Definition: GuiTypes.h:288
kFocusChangeMask
const Mask_t kFocusChangeMask
Definition: GuiTypes.h:168
kWABackingPlanes
const Mask_t kWABackingPlanes
Definition: GuiTypes.h:146
Event_t::fWindow
Window_t fWindow
Definition: GuiTypes.h:175
kGCDashList
const Mask_t kGCDashList
Definition: GuiTypes.h:306
kPointer
@ kPointer
Definition: GuiTypes.h:374
GCValues_t::fClipYOrigin
Int_t fClipYOrigin
Definition: GuiTypes.h:245
kKeyPressMask
const Mask_t kKeyPressMask
Definition: GuiTypes.h:158
Event_t::fYRoot
Int_t fYRoot
Definition: GuiTypes.h:178
kRaisedFrame
@ kRaisedFrame
Definition: GuiTypes.h:384
EFrameType
EFrameType
Definition: GuiTypes.h:378
kNotifyUngrab
@ kNotifyUngrab
Definition: GuiTypes.h:218
kGXset
@ kGXset
Definition: GuiTypes.h:82
kHand
@ kHand
Definition: GuiTypes.h:373
kCapRound
@ kCapRound
Definition: GuiTypes.h:48
unsigned int
GCValues_t::fTile
Pixmap_t fTile
Definition: GuiTypes.h:237
PictureAttributes_t::fColormap
Colormap_t fColormap
Definition: GuiTypes.h:323
kTopRight
@ kTopRight
Definition: GuiTypes.h:371
kGXcopy
@ kGXcopy
Definition: GuiTypes.h:70
kHorizontalFrame
@ kHorizontalFrame
Definition: GuiTypes.h:382
kWAEventMask
const Mask_t kWAEventMask
Definition: GuiTypes.h:150
kKeyControlMask
const Mask_t kKeyControlMask
Definition: GuiTypes.h:196
kColormapNotify
@ kColormapNotify
Definition: GuiTypes.h:63
SetWindowAttributes_t::fBorderPixmap
Pixmap_t fBorderPixmap
Definition: GuiTypes.h:95
SetWindowAttributes_t::fCursor
Cursor_t fCursor
Definition: GuiTypes.h:108
kFillTiled
@ kFillTiled
Definition: GuiTypes.h:50
WindowAttributes_t::fSaveUnder
Bool_t fSaveUnder
Definition: GuiTypes.h:126
kJoinRound
@ kJoinRound
Definition: GuiTypes.h:49
kNotifyGrab
@ kNotifyGrab
Definition: GuiTypes.h:218
kExposureMask
const Mask_t kExposureMask
Definition: GuiTypes.h:164
kWABackPixel
const Mask_t kWABackPixel
Definition: GuiTypes.h:139
kButton1Mask
const Mask_t kButton1Mask
Definition: GuiTypes.h:202
kWABackingPixel
const Mask_t kWABackingPixel
Definition: GuiTypes.h:147
kNotUseful
@ kNotUseful
Definition: GuiTypes.h:44
kPACloseness
const Mask_t kPACloseness
Definition: GuiTypes.h:341
WindowAttributes_t::fRoot
Window_t fRoot
Definition: GuiTypes.h:119
EGraphicsFunction
EGraphicsFunction
Definition: GuiTypes.h:66
PictureAttributes_t
Definition: GuiTypes.h:322
Rectangle_t::fHeight
UShort_t fHeight
Definition: GuiTypes.h:362
kCapButt
@ kCapButt
Definition: GuiTypes.h:48
kKeyMod5Mask
const Mask_t kKeyMod5Mask
Definition: GuiTypes.h:201
kFitWidth
@ kFitWidth
Definition: GuiTypes.h:386
kGCClipXOrigin
const Mask_t kGCClipXOrigin
Definition: GuiTypes.h:302
kGXclear
@ kGXclear
Definition: GuiTypes.h:67
kCaret
@ kCaret
Definition: GuiTypes.h:374
GCValues_t::fMask
Mask_t fMask
Definition: GuiTypes.h:250
kGCClipYOrigin
const Mask_t kGCClipYOrigin
Definition: GuiTypes.h:303
WindowAttributes_t::fScreen
void * fScreen
Definition: GuiTypes.h:134
kGCPlaneMask
const Mask_t kGCPlaneMask
Definition: GuiTypes.h:286
ColorStruct_t::fMask
UShort_t fMask
Definition: GuiTypes.h:314
PictureAttributes_t::fMask
Mask_t fMask
Definition: GuiTypes.h:332
kButton6
@ kButton6
Definition: GuiTypes.h:214
GCValues_t::fClipMask
Pixmap_t fClipMask
Definition: GuiTypes.h:246
Event_t::fTime
Time_t fTime
Definition: GuiTypes.h:176
GCValues_t::fDashLen
Int_t fDashLen
Definition: GuiTypes.h:249
Rectangle_t::fWidth
UShort_t fWidth
Definition: GuiTypes.h:362
kFillOpaqueStippled
@ kFillOpaqueStippled
Definition: GuiTypes.h:50
Handle_t
ULong_t Handle_t
Definition: GuiTypes.h:25
kSelectionNotify
@ kSelectionNotify
Definition: GuiTypes.h:62
kKeyReleaseMask
const Mask_t kKeyReleaseMask
Definition: GuiTypes.h:159
WindowAttributes_t::fYourEventMask
Long_t fYourEventMask
Definition: GuiTypes.h:131
GCValues_t::fFunction
EGraphicsFunction fFunction
Definition: GuiTypes.h:224
kMapNotify
@ kMapNotify
Definition: GuiTypes.h:61
Event_t
Definition: GuiTypes.h:173
EXMagic
EXMagic
Definition: GuiTypes.h:218
GCValues_t::fForeground
ULong_t fForeground
Definition: GuiTypes.h:226
kGXand
@ kGXand
Definition: GuiTypes.h:68
kButton5
@ kButton5
Definition: GuiTypes.h:214
SetWindowAttributes_t::fBorderPixel
ULong_t fBorderPixel
Definition: GuiTypes.h:96
WindowAttributes_t::fDoNotPropagateMask
Long_t fDoNotPropagateMask
Definition: GuiTypes.h:132
WindowAttributes_t::fColormap
Colormap_t fColormap
Definition: GuiTypes.h:127
kMdiFrame
@ kMdiFrame
Definition: GuiTypes.h:395
kJoinBevel
@ kJoinBevel
Definition: GuiTypes.h:49
kPrimarySelection
const Atom_t kPrimarySelection
Definition: GuiTypes.h:366
PictureAttributes_t::fNpixels
UInt_t fNpixels
Definition: GuiTypes.h:330
WindowAttributes_t::fX
Int_t fX
Definition: GuiTypes.h:114
kStructureNotifyMask
const Mask_t kStructureNotifyMask
Definition: GuiTypes.h:165
kDefaultScrollBarWidth
@ kDefaultScrollBarWidth
Definition: GuiTypes.h:85
EInitialState
EInitialState
Definition: GuiTypes.h:344
kExpose
@ kExpose
Definition: GuiTypes.h:61
kEnterWindowMask
const Mask_t kEnterWindowMask
Definition: GuiTypes.h:166
Event_t::fCount
Int_t fCount
Definition: GuiTypes.h:182
WindowAttributes_t::fClass
Int_t fClass
Definition: GuiTypes.h:120
kWAOverrideRedirect
const Mask_t kWAOverrideRedirect
Definition: GuiTypes.h:148
kButton4Mask
const Mask_t kButton4Mask
Definition: GuiTypes.h:205
kIncludeInferiors
@ kIncludeInferiors
Definition: GuiTypes.h:52
GCValues_t::GCValues_t
GCValues_t()
Definition: GuiTypes.h:252
WindowAttributes_t::fMapState
Int_t fMapState
Definition: GuiTypes.h:129
Segment_t
Definition: GuiTypes.h:350
kClipByChildren
@ kClipByChildren
Definition: GuiTypes.h:52
WindowAttributes_t::fBackingPlanes
ULong_t fBackingPlanes
Definition: GuiTypes.h:124
Char_t
char Char_t
Definition: RtypesCore.h:33
kGXnor
@ kGXnor
Definition: GuiTypes.h:75
Event_t::fUser
Long_t fUser[5]
Definition: GuiTypes.h:186
kParentRelative
const Handle_t kParentRelative
Definition: GuiTypes.h:89
kGCDashOffset
const Mask_t kGCDashOffset
Definition: GuiTypes.h:305
Rtypes.h
Time_t
ULong_t Time_t
Definition: GuiTypes.h:41
kGCTile
const Mask_t kGCTile
Definition: GuiTypes.h:295
WindowAttributes_t::fOverrideRedirect
Bool_t fOverrideRedirect
Definition: GuiTypes.h:133
Segment_t::fY1
Short_t fY1
Definition: GuiTypes.h:351
EGEventType
EGEventType
Definition: GuiTypes.h:58
Mask_t
UInt_t Mask_t
Definition: GuiTypes.h:40
kWABackPixmap
const Mask_t kWABackPixmap
Definition: GuiTypes.h:138
kButton6Mask
const Mask_t kButton6Mask
Definition: GuiTypes.h:207
PictureAttributes_t::fHeight
UInt_t fHeight
Definition: GuiTypes.h:326
kGCStipple
const Mask_t kGCStipple
Definition: GuiTypes.h:296
kKeyShiftMask
const Mask_t kKeyShiftMask
Definition: GuiTypes.h:194
kInputOutput
@ kInputOutput
Definition: GuiTypes.h:46
kGXxor
@ kGXxor
Definition: GuiTypes.h:73
kButtonMotionMask
const Mask_t kButtonMotionMask
Definition: GuiTypes.h:163
GCValues_t::fLineWidth
Int_t fLineWidth
Definition: GuiTypes.h:228
kCapNotLast
@ kCapNotLast
Definition: GuiTypes.h:48
kChildFrame
@ kChildFrame
Definition: GuiTypes.h:379
int
SetWindowAttributes_t
Definition: GuiTypes.h:92
GCValues_t::fCapStyle
Int_t fCapStyle
Definition: GuiTypes.h:230
kGCSubwindowMode
const Mask_t kGCSubwindowMode
Definition: GuiTypes.h:300
kFocusIn
@ kFocusIn
Definition: GuiTypes.h:60