GrafX2 2.9.3227
The ultimate 256-color painting program
T_Config_shortcut_info Struct Reference

Configuration for one keyboard shortcut in gfx2.cfg. More...

#include <struct.h>

+ Collaboration diagram for T_Config_shortcut_info:

Data Fields

word Number
 Indicates the shortcut action. This is a number starting from 0, which matches T_Key_config.Number. More...
 
word Key
 Keyboard shortcut: SDLK_something, or -1 for none. More...
 
word Key2
 Alternate keyboard shortcut: SDLK_something, or -1 for none. More...
 

Detailed Description

Configuration for one keyboard shortcut in gfx2.cfg.

Field Documentation

◆ Number

word T_Config_shortcut_info::Number

Indicates the shortcut action. This is a number starting from 0, which matches T_Key_config.Number.

Referenced by Load_CFG(), and Save_CFG().

◆ Key

word T_Config_shortcut_info::Key

Keyboard shortcut: SDLK_something, or -1 for none.

Referenced by Load_CFG(), and Save_CFG().

◆ Key2

word T_Config_shortcut_info::Key2

Alternate keyboard shortcut: SDLK_something, or -1 for none.

Referenced by Load_CFG(), and Save_CFG().


The documentation for this struct was generated from the following file: