ARB
aw_xkey.hxx
Go to the documentation of this file.
1 #ifndef AW_XKEY_HXX
2 #define AW_XKEY_HXX
3 
4 #ifndef _Xm_h
5 #include <Xm/Xm.h>
6 #endif
7 
8 struct awXKeymap {
9  int xmod;
10  int xkey;
11  const char *xstr;
14  char *awstr;
15 };
16 
17 struct awXKeymap_modfree { // automatically defines key with SHIFT, ALT(META) and CTRL
18  int xkey;
19  const char *xstr_suffix;
21 };
22 
23 void aw_install_xkeys(Display *display);
24 void aw_uninstall_xkeys();
25 const awXKeymap* aw_xkey_2_awkey(XKeyEvent *xkeyevent);
26 
27 #else
28 #error aw_xkey.hxx included twice
29 #endif
AW_key_mod awmod
Definition: aw_xkey.hxx:12
int xmod
Definition: aw_xkey.hxx:9
void aw_uninstall_xkeys()
Definition: AW_xkey.cxx:178
const awXKeymap * aw_xkey_2_awkey(XKeyEvent *xkeyevent)
Definition: AW_xkey.cxx:196
AW_key_code awkey
Definition: aw_xkey.hxx:20
int xkey
Definition: aw_xkey.hxx:10
void aw_install_xkeys(Display *display)
Definition: AW_xkey.cxx:134
AW_key_code
Definition: aw_keysym.hxx:14
AW_key_mod
Definition: aw_keysym.hxx:46
const char * xstr_suffix
Definition: aw_xkey.hxx:19
AW_key_code awkey
Definition: aw_xkey.hxx:13
const char * xstr
Definition: aw_xkey.hxx:11
char * awstr
Definition: aw_xkey.hxx:14