diff options
Diffstat (limited to 'src/ui/util.h')
-rw-r--r-- | src/ui/util.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ui/util.h b/src/ui/util.h index b8d10cf0..8dd16a7f 100644 --- a/src/ui/util.h +++ b/src/ui/util.h | |||
@@ -64,11 +64,17 @@ iLocalDef iBool isPerPixel_MouseWheelEvent(const SDL_MouseWheelEvent *ev) { | |||
64 | # define KMOD_SECONDARY KMOD_GUI | 64 | # define KMOD_SECONDARY KMOD_GUI |
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | enum iOpenTabFlag { | ||
68 | new_OpenTabFlag = iBit(1), | ||
69 | newBackground_OpenTabFlag = iBit(2), | ||
70 | otherRoot_OpenTabFlag = iBit(3), | ||
71 | }; | ||
72 | |||
67 | iBool isMod_Sym (int key); | 73 | iBool isMod_Sym (int key); |
68 | int normalizedMod_Sym (int key); | 74 | int normalizedMod_Sym (int key); |
69 | int keyMods_Sym (int kmods); /* shift, alt, control, or gui */ | 75 | int keyMods_Sym (int kmods); /* shift, alt, control, or gui */ |
70 | void toString_Sym (int key, int kmods, iString *str); | 76 | void toString_Sym (int key, int kmods, iString *str); |
71 | int openTabMode_Sym (int kmods); | 77 | int openTabMode_Sym (int kmods); /* returns OpenTabFlags */ |
72 | 78 | ||
73 | iRangei intersect_Rangei (iRangei a, iRangei b); | 79 | iRangei intersect_Rangei (iRangei a, iRangei b); |
74 | iRangei union_Rangei (iRangei a, iRangei b); | 80 | iRangei union_Rangei (iRangei a, iRangei b); |