|
ARB
|
#include "aw_keysym.hxx"#include "aw_xkey.hxx"#include "aw_msg.hxx"#include <arbdbt.h>#include <arb_defs.h>#include <X11/Xlib.h>#include <X11/keysym.h>#include <X11/Xutil.h>
Go to the source code of this file.
Classes | |
| struct | awModDef |
Macros | |
| #define | aw_assert(bed) arb_assert(bed) |
Functions | |
| static void | map_awXKey (Display *display, const awXKeymap *awxk) |
| void | aw_install_xkeys (Display *display) |
| void | aw_uninstall_xkeys () |
| const awXKeymap * | aw_xkey_2_awkey (XKeyEvent *xkeyevent) |
Variables | |
| static awXKeymap_modfree | awxkeymap_modfree [] |
| static awXKeymap | awxkeymap [] |
| static awModDef | moddef [] |
| const int | FIXEDMOD = TERMINATED_ARRAY_ELEMS(awxkeymap) |
| const int | MODFREE = TERMINATED_ARRAY_ELEMS(awxkeymap_modfree) |
| const int | MODS = ARRAY_ELEMS(moddef) |
| static GB_HASH * | awxkeymap_string_2_key_hash |
| static GB_NUMHASH * | awxkeymap_xkey_2_key_hash |
| static int | generatedKeymaps_count = -1 |
| static awXKeymap * | generatedKeymaps = NULp |
| const int | MAPPED_KEYS = MODFREE*MODS+FIXEDMOD |
| static int | mappedKeys = 0 |
| #define aw_assert | ( | bed | ) | arb_assert(bed) |
Definition at line 23 of file AW_xkey.cxx.
Referenced by aw_install_xkeys(), and aw_xkey_2_awkey().
|
static |
Definition at line 114 of file AW_xkey.cxx.
References GBS_write_hash(), GBS_write_numhash(), mappedKeys, awXKeymap::xkey, awXKeymap::xmod, and awXKeymap::xstr.
Referenced by aw_install_xkeys().
| void aw_install_xkeys | ( | Display * | display | ) |
Definition at line 134 of file AW_xkey.cxx.
References ARB_calloc(), aw_assert, awXKeymap::awkey, awXKeymap_modfree::awkey, awXKeymap::awmod, awModDef::awmod, awXKeymap::awstr, GB_MIND_CASE, GBS_create_hash(), GBS_create_numhash(), GBS_global_string_copy(), map_awXKey(), md, MODS, NULp, awXKeymap::xkey, awXKeymap_modfree::xkey, awXKeymap::xmod, awModDef::xmod, awXKeymap::xstr, awModDef::xstr_prefix, and awXKeymap_modfree::xstr_suffix.
| void aw_uninstall_xkeys | ( | ) |
Definition at line 178 of file AW_xkey.cxx.
References GBS_free_hash(), GBS_free_numhash(), generatedKeymaps_count, md, MODS, NULp, awXKeymap::xstr, and awModDef::xstr_prefix.
| const awXKeymap* aw_xkey_2_awkey | ( | XKeyEvent * | xkeyevent | ) |
Definition at line 196 of file AW_xkey.cxx.
References aw_assert, AW_KEY_ASCII, AW_KEY_NONE, AW_KEYMODE_ALT, AW_KEYMODE_CONTROL, AW_KEYMODE_NONE, AW_KEYMODE_NUMLOCK, aw_message(), awXKeymap::awkey, awXKeymap::awmod, awXKeymap::awstr, buffer, BUFFERSIZE, GBS_read_hash(), GBS_read_numhash(), NULp, result, and awXKeymap::xstr.
Referenced by AW_inputCB_draw_area().
|
static |
Definition at line 31 of file AW_xkey.cxx.
|
static |
Definition at line 47 of file AW_xkey.cxx.
|
static |
Definition at line 86 of file AW_xkey.cxx.
| const int FIXEDMOD = TERMINATED_ARRAY_ELEMS(awxkeymap) |
Definition at line 98 of file AW_xkey.cxx.
| const int MODFREE = TERMINATED_ARRAY_ELEMS(awxkeymap_modfree) |
Definition at line 99 of file AW_xkey.cxx.
| const int MODS = ARRAY_ELEMS(moddef) |
Definition at line 100 of file AW_xkey.cxx.
Referenced by aw_install_xkeys(), and aw_uninstall_xkeys().
|
static |
Definition at line 102 of file AW_xkey.cxx.
|
static |
Definition at line 103 of file AW_xkey.cxx.
|
static |
Definition at line 104 of file AW_xkey.cxx.
Referenced by aw_uninstall_xkeys().
Definition at line 105 of file AW_xkey.cxx.
|
static |
Definition at line 111 of file AW_xkey.cxx.
Referenced by map_awXKey().
1.8.8