Opened 5 years ago

Last modified 3 years ago

#114 new task

simplify hotkey.c — at Version 1

Reported by: Thomas Bernard Owned by: pulkomandy
Priority: minor Milestone: 2.9
Component: GrafX2 Version: 2.6
Keywords: Cc:

Description (last modified by Thomas Bernard)

I think we should merge the two big arrays in hotkey.c ConfigKey and Ordering

I see no reason we coudn't add a word Ordering field to T_Key_config.

Also there is possible confusion between ConfigKey and Config_Key :

hotkeys.h:extern T_Key_config ConfigKey[NB_SHORTCUTS];
global.h:GFX2_GLOBAL word Config_Key[NB_SPECIAL_SHORTCUTS][2];

Change History (1)

comment:1 by Thomas Bernard, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.