source: tags/arb-6.0.5/WINDOW/aw_xkey.hxx

Last change on this file was 6674, checked in by westram, 14 years ago
  • valgrind2grep: - ignore some leaked motif memory (wont fix that (now))
  • added aw_uninstall_xkeys() and AW_root::exit_root() to stuff some memleaks
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 586 bytes
Line 
1#ifndef AW_XKEY_HXX
2#define AW_XKEY_HXX
3
4#ifndef _Xm_h
5#include <Xm/Xm.h>
6#endif
7
8struct awXKeymap {
9    int          xmod;
10    int          xkey;
11    const char  *xstr;
12    AW_key_mod   awmod;
13    AW_key_code  awkey;
14    char        *awstr;
15};
16
17struct awXKeymap_modfree { // automatically defines key with SHIFT, ALT(META) and CTRL
18    int          xkey;
19    const char  *xstr_suffix;
20    AW_key_code  awkey;
21};
22
23void aw_install_xkeys(Display *display);
24void aw_uninstall_xkeys();
25const awXKeymap* aw_xkey_2_awkey(XKeyEvent *xkeyevent);
26
27#else
28#error aw_xkey.hxx included twice
29#endif
Note: See TracBrowser for help on using the repository browser.