GrafX2 2.9.3227
The ultimate 256-color painting program
hotkeys.c File Reference
#include "struct.h"
#include "global.h"
#include "hotkeys.h"
#include "keycodes.h"
+ Include dependency graph for hotkeys.c:

Macros

#define FAST_MOD   GFX2_MOD_SHIFT
 

Variables

T_Key_config ConfigKey [NB_SHORTCUTS]
 Table with all the configurable shortcuts, whether they are for a menu button or a special action. More...
 
word Ordering [NB_SHORTCUTS]
 Translation table from a shortcut index to a shortcut identifier. More...
 

Macro Definition Documentation

◆ FAST_MOD

#define FAST_MOD   GFX2_MOD_SHIFT

Variable Documentation

◆ ConfigKey

Table with all the configurable shortcuts, whether they are for a menu button or a special action.

Referenced by Find_default_shortcut(), Load_CFG(), Save_CFG(), Set_config_defaults(), and Window_set_shortcut().

◆ Ordering

word Ordering[NB_SHORTCUTS]

Translation table from a shortcut index to a shortcut identifier.

The value is either:

  • 0x000 + special shortcut number
  • 0x100 + button number (left click)
  • 0x200 + button number (right click)

Referenced by Find_default_shortcut(), Load_CFG(), Remove_duplicate_shortcuts(), Save_CFG(), Set_config_defaults(), and Window_set_shortcut().