summaryrefslogtreecommitdiff
path: root/src/ui/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/util.h')
-rw-r--r--src/ui/util.h8
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
67enum iOpenTabFlag {
68 new_OpenTabFlag = iBit(1),
69 newBackground_OpenTabFlag = iBit(2),
70 otherRoot_OpenTabFlag = iBit(3),
71};
72
67iBool isMod_Sym (int key); 73iBool isMod_Sym (int key);
68int normalizedMod_Sym (int key); 74int normalizedMod_Sym (int key);
69int keyMods_Sym (int kmods); /* shift, alt, control, or gui */ 75int keyMods_Sym (int kmods); /* shift, alt, control, or gui */
70void toString_Sym (int key, int kmods, iString *str); 76void toString_Sym (int key, int kmods, iString *str);
71int openTabMode_Sym (int kmods); 77int openTabMode_Sym (int kmods); /* returns OpenTabFlags */
72 78
73iRangei intersect_Rangei (iRangei a, iRangei b); 79iRangei intersect_Rangei (iRangei a, iRangei b);
74iRangei union_Rangei (iRangei a, iRangei b); 80iRangei union_Rangei (iRangei a, iRangei b);