ARB
Macros | Functions
AWT_map_key.cxx File Reference
#include "awt_map_key.hxx"
#include <arb_msg.h>
#include <aw_window.hxx>
#include <aw_root.hxx>
#include <aw_awar.hxx>
#include "awt_config_manager.hxx"
Include dependency graph for AWT_map_key.cxx:

Go to the source code of this file.

Macros

#define KEYS_PER_COLUMN   10
 
#define MAPPED_KEYS   (2*KEYS_PER_COLUMN)
 
#define AWAR_KEYMAPPING_ENABLE   "key_mapping/enable"
 

Functions

const charmapping_awar_name (int idx, const char *subkey)
 
char read_mapping_awar (AW_root *awr, int idx, const char *subkey)
 
static void ed_rehash_mapping (AW_root *awr, ed_key *ek)
 
static void setup_keymap_config (AWT_config_definition &cdef)
 
AW_windowcreate_key_map_window (AW_root *root)
 

Macro Definition Documentation

#define KEYS_PER_COLUMN   10

Definition at line 18 of file AWT_map_key.cxx.

Referenced by create_key_map_window().

#define MAPPED_KEYS   (2*KEYS_PER_COLUMN)
#define AWAR_KEYMAPPING_ENABLE   "key_mapping/enable"

Function Documentation

const char* mapping_awar_name ( int  idx,
const char subkey 
)
inline
char read_mapping_awar ( AW_root awr,
int  idx,
const char subkey 
)
inline

Definition at line 36 of file AWT_map_key.cxx.

References AW_root::awar(), mapping_awar_name(), and AW_awar::read_char_pntr().

Referenced by ed_key::rehash_mapping().

static void ed_rehash_mapping ( AW_root awr,
ed_key ek 
)
static

Definition at line 55 of file AWT_map_key.cxx.

References ed_key::rehash_mapping().

Referenced by ed_key::create_awars().

static void setup_keymap_config ( AWT_config_definition cdef)
static
AW_window* create_key_map_window ( AW_root root)