Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 86 lines (72 sloc) 1.733 kB
873610a @NotFound first public revision
authored
1 // GuitorConstants.winxhead
2
3 // Declarations for Guitor
4 // Xlib constants commonly used
5
6 namespace Guitor
7 {
8
1cef5d4 @NotFound improve color handling and add constants for line style
authored
9 // Line styles
10 const int
11 LineSolid = 0,
12 LineOnOffDash = 1,
13 LineDoubleDash = 2;
14
7d438ce @NotFound constants for GC logical functions - use constants consistently in ex…
authored
15 // GC logical function
16 const int
17 GXClear = 0x0,
18 GXand = 0x1,
19 GXandReverse = 0x2,
20 GXcopy = 0x3,
21 GXandInverted = 0x4,
22 GXnoop = 0x5,
23 GXxor = 0x6,
24 GXor = 0x7,
25 GXnor = 0x8,
26 GXequiv = 0x9,
27 GXinvert = 0xa,
28 GXorReverse = 0xb,
29 GXcopyInverted = 0xc,
30 GXorInverted = 0xd,
31 GXnand = 0xe,
32 GXset = 0xf;
33
34 // Subwindow modes
35 const int
36 ClipByChildren = 0,
37 IncludeInferiors = 1;
38
12fce5b @NotFound use 'None' for destroyed windows instead of -1
authored
39 // Some commonly used values:
40 const int None = 0;
68fdb41 @NotFound simple TextButton and some minor addtions to base functionality
authored
41 const int CurrentTime = 0;
42
43 // Focus revert type
44 const int
45 RevertToNone = 0,
46 RevertToPointerRoot = 1,
47 RevertToParent = 2;
48
dacf71a @NotFound Focus control, a bunch of fixes and example of EditBox
authored
49 // WM hints
50 const int InputHint = 1;
51
873610a @NotFound first public revision
authored
52 namespace Events
53 {
54
55 // Event selection masks
1cef5d4 @NotFound improve color handling and add constants for line style
authored
56 const int
57 KeyPressMask = 0x00000001,
58 KeyReleaseMask = 0x00000002,
59 ButtonPressMask = 0x00000004,
60 ButtonReleaseMask = 0x00000008,
61 EnterWindowMask = 0x00000010,
62 LeaveWindowMask = 0x00000020,
63 PointerMotionMask = 0x00000040,
64 ExposureMask = 0x00008000,
dacf71a @NotFound Focus control, a bunch of fixes and example of EditBox
authored
65 StructureNotifyMask = 0x00020000,
66 FocusChangeMask = 0x00200000;
873610a @NotFound first public revision
authored
67 // Event types
1cef5d4 @NotFound improve color handling and add constants for line style
authored
68 const int
69 KeyPress = 2,
70 KeyRelease = 3,
71 ButtonPress = 4,
72 ButtonRelease = 5,
73 MotionNotify = 6,
dacf71a @NotFound Focus control, a bunch of fixes and example of EditBox
authored
74 FocusIn = 9,
75 FocusOut = 10,
1cef5d4 @NotFound improve color handling and add constants for line style
authored
76 Expose = 12,
77 DestroyNotify = 17,
78 ConfigureNotify = 22,
79 ClientMessage = 33;
873610a @NotFound first public revision
authored
80
81 }
82
83 }
84
85 // End
Something went wrong with that request. Please try again.