diff options
author | fluxgen <fluxgen> | 2001-12-29 10:32:04 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2001-12-29 10:32:04 (GMT) |
commit | c79fb75a3b9a2b8fa828d4eea517651d730a6eec (patch) | |
tree | 458d31dc69adaad67062b06e790cc8dc7965308e /src/Keys.hh | |
parent | e0dce8166ca9406a50e908569bb294ce57a76b7f (diff) | |
download | fluxbox-c79fb75a3b9a2b8fa828d4eea517651d730a6eec.zip fluxbox-c79fb75a3b9a2b8fa828d4eea517651d730a6eec.tar.bz2 |
Changed keygrab constants to upper-case
Diffstat (limited to 'src/Keys.hh')
-rw-r--r-- | src/Keys.hh | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/src/Keys.hh b/src/Keys.hh index 3b19aaa..8f32465 100644 --- a/src/Keys.hh +++ b/src/Keys.hh | |||
@@ -23,29 +23,30 @@ | |||
23 | 23 | ||
24 | #include <string> | 24 | #include <string> |
25 | #include <vector> | 25 | #include <vector> |
26 | 26 | #include <X11/Xlib.h> | |
27 | |||
27 | class Keys | 28 | class Keys |
28 | { | 29 | { |
29 | public: | 30 | public: |
30 | enum KeyAction{ | 31 | enum KeyAction{ |
31 | grabIconify=0, | 32 | ICONIFY=0, |
32 | grabRaise, | 33 | RAISE, |
33 | grabLower, | 34 | LOWER, |
34 | grabClose, | 35 | CLOSE, |
35 | grabAbortKeychain, | 36 | ABORTKEYCHAIN, |
36 | grabWorkspace1, grabWorkspace2, grabWorkspace3, grabWorkspace4, grabWorkspace5, | 37 | WORKSPACE1, WORKSPACE2, WORKSPACE3, WORKSPACE4, WORKSPACE5, |
37 | grabWorkspace6, grabWorkspace7, grabWorkspace8, grabWorkspace9, grabWorkspace10, | 38 | WORKSPACE6, WORKSPACE7, WORKSPACE8, WORKSPACE9, WORKSPACE10, |
38 | grabWorkspace11, grabWorkspace12, grabNextWorkspace, grabPrevWorkspace, | 39 | WORKSPACE11, WORKSPACE12, NEXTWORKSPACE, PREVWORKSPACE, |
39 | grabLeftWorkspace, grabRightWorkspace, | 40 | LEFTWORKSPACE, RIGHTWORKSPACE, |
40 | grabKillWindow, grabNextWindow, grabPrevWindow, | 41 | KILLWINDOW, NEXTWINDOW, PREVWINDOW, |
41 | grabNextTab, grabPrevTab, | 42 | NEXTTAB, PREVTAB, |
42 | grabShade, grabMaximize, grabStick, grabExecute, grabVertMax, | 43 | SHADE, MAXIMIZE, STICK, EXECUTE, VERTMAX, |
43 | grabHorizMax, grabNudgeRight, grabNudgeLeft,grabNudgeUp, | 44 | HORIZMAX, NUDGERIGHT, NUDGELEFT,NUDGEUP, |
44 | grabNudgeDown, grabBigNudgeRight, grabBigNudgeLeft, | 45 | NUDGEDOWN, BIGNUDGERIGHT, BIGNUDGELEFT, |
45 | grabBigNudgeUp, grabBigNudgeDown, | 46 | BIGNUDGEUP, BIGNUDGEDOWN, |
46 | grabHorizInc, grabVertInc, grabHorizDec, grabVertDec, | 47 | HORIZINC, VERTINC, HORIZDEC, VERTDEC, |
47 | grabToggleDecor, | 48 | TOGGLEDECOR, |
48 | lastKeygrab | 49 | LASTKEYGRAB |
49 | }; | 50 | }; |
50 | 51 | ||
51 | Keys(char *filename); | 52 | Keys(char *filename); |
@@ -66,7 +67,7 @@ private: | |||
66 | 67 | ||
67 | class t_key { | 68 | class t_key { |
68 | public: | 69 | public: |
69 | t_key(unsigned int key, unsigned int mod, KeyAction action_ = lastKeygrab); | 70 | t_key(unsigned int key, unsigned int mod, KeyAction action_ = Keys::LASTKEYGRAB); |
70 | t_key(t_key *k); | 71 | t_key(t_key *k); |
71 | ~t_key(); | 72 | ~t_key(); |
72 | 73 | ||