mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Merge pull request #323 from Mateos81/NumericKeypad
Numeric keypad related shortcuts
This commit is contained in:
commit
3a6dd7a66c
1 changed files with 22 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
|
||||
//
|
||||
// Main Window for Q3Radiant
|
||||
// Main Window for GtkRadiant
|
||||
//
|
||||
// Leonardo Zide (leo@lokigames.com)
|
||||
//
|
||||
|
@ -44,7 +44,7 @@ extern "C" {
|
|||
#include "patchdialog.h"
|
||||
#include "filters.h"
|
||||
|
||||
// use this to verbose what happens with the beyboard
|
||||
// use this to verbose what happens with the keyboard
|
||||
#ifdef _DEBUG
|
||||
// #define DBG_KBD
|
||||
#endif
|
||||
|
@ -162,15 +162,25 @@ SCommandInfo g_Commands[] =
|
|||
{"CameraStrafeRight", GDK_period, 0, ID_CAMERA_STRAFERIGHT, "menu_camera_straferight"},
|
||||
{"CameraStrafeLeft", GDK_comma, 0, ID_CAMERA_STRAFELEFT, "menu_camera_strafeleft"},
|
||||
{"ToggleGrid", '0', 0, ID_GRID_TOGGLE, "menu_grid_toggle"},
|
||||
{"ToggleGrid", GDK_KP_0, 0, ID_GRID_TOGGLE, "menu_grid_toggle"},
|
||||
{"SetGrid1", '1', 0, ID_GRID_1, "menu_grid_1"},
|
||||
{"SetGrid1", GDK_KP_1, 0, ID_GRID_1, "menu_grid_1"},
|
||||
{"SetGrid2", '2', 0, ID_GRID_2, "menu_grid_2"},
|
||||
{"SetGrid2", GDK_KP_2, 0, ID_GRID_2, "menu_grid_2"},
|
||||
{"SetGrid4", '3', 0, ID_GRID_4, "menu_grid_4"},
|
||||
{"SetGrid4", GDK_KP_3, 0, ID_GRID_4, "menu_grid_4"},
|
||||
{"SetGrid8", '4', 0, ID_GRID_8, "menu_grid_8"},
|
||||
{"SetGrid8", GDK_KP_4, 0, ID_GRID_8, "menu_grid_8"},
|
||||
{"SetGrid16", '5', 0, ID_GRID_16, "menu_grid_16"},
|
||||
{"SetGrid16", GDK_KP_5, 0, ID_GRID_16, "menu_grid_16"},
|
||||
{"SetGrid32", '6', 0, ID_GRID_32, "menu_grid_32"},
|
||||
{"SetGrid32", GDK_KP_6, 0, ID_GRID_32, "menu_grid_32"},
|
||||
{"SetGrid64", '7', 0, ID_GRID_64, "menu_grid_64"},
|
||||
{"SetGrid64", GDK_KP_7, 0, ID_GRID_64, "menu_grid_64"},
|
||||
{"SetGrid128", '8', 0, ID_GRID_128, "menu_grid_128"},
|
||||
{"SetGrid128", GDK_KP_8, 0, ID_GRID_128, "menu_grid_128"},
|
||||
{"SetGrid256", '9', 0, ID_GRID_256, "menu_grid_256"},
|
||||
{"SetGrid256", GDK_KP_9, 0, ID_GRID_256, "menu_grid_256"},
|
||||
{"DragEdges", 'E', 0, ID_SELECTION_DRAGEDGES, "menu_selection_dragedges"},
|
||||
{"DragVertices", 'V', 0, ID_SELECTION_DRAGVERTECIES, "menu_selection_dragvertecies"},
|
||||
{"ViewEntityInfo", 'N', 0, ID_VIEW_ENTITY, "menu_view_entity"},
|
||||
|
@ -258,16 +268,26 @@ SCommandInfo g_Commands[] =
|
|||
{"Sleep", 'P', 0x05, ID_FILE_SLEEP, "menu_file_sleep"},
|
||||
{"SimplePatchMesh", 'P', 0x01, ID_CURVE_SIMPLEPATCHMESH, "menu_simplepatchmesh"},
|
||||
{"FilterWorldBrushes", '1', RAD_ALT, ID_FILTER_WORLD, "menu_filter_world"},
|
||||
{"FilterWorldBrushes", GDK_KP_1, RAD_ALT, ID_FILTER_WORLD, "menu_filter_world"},
|
||||
{"FilterEntities", '2', RAD_ALT, ID_FILTER_ENTITIES, "menu_filter_entities"},
|
||||
{"FilterEntities", GDK_KP_2, RAD_ALT, ID_FILTER_ENTITIES, "menu_filter_entities"},
|
||||
{"FilterAreaportals", '3', RAD_ALT, ID_FILTER_AREAPORTALS, "menu_filter_areaportals"},
|
||||
{"FilterAreaportals", GDK_KP_3, RAD_ALT, ID_FILTER_AREAPORTALS, "menu_filter_areaportals"},
|
||||
{"FilterTranslucent", '4', RAD_ALT, ID_FILTER_TRANSLUCENT, "menu_filter_translucent"},
|
||||
{"FilterTranslucent", GDK_KP_4, RAD_ALT, ID_FILTER_TRANSLUCENT, "menu_filter_translucent"},
|
||||
{"FilterLiquids", '5', RAD_ALT, ID_FILTER_LIQUIDS, "menu_filter_liquids"},
|
||||
{"FilterLiquids", GDK_KP_5, RAD_ALT, ID_FILTER_LIQUIDS, "menu_filter_liquids"},
|
||||
{"FilterCaulk", '6', RAD_ALT, ID_FILTER_CAULK, "menu_filter_caulk"},
|
||||
{"FilterCaulk", GDK_KP_6, RAD_ALT, ID_FILTER_CAULK, "menu_filter_caulk"},
|
||||
{"FilterClips", '7', RAD_ALT, ID_FILTER_CLIPS, "menu_filter_clips"},
|
||||
{"FilterClips", GDK_KP_7, RAD_ALT, ID_FILTER_CLIPS, "menu_filter_clips"},
|
||||
{"FilterBotClips", 'M', RAD_ALT, ID_FILTER_BOTCLIPS, "menu_filter_botclips"},
|
||||
{"FilterPaths", '8', RAD_ALT, ID_FILTER_PATHS, "menu_filter_paths"},
|
||||
{"FilterPaths", GDK_KP_8, RAD_ALT, ID_FILTER_PATHS, "menu_filter_paths"},
|
||||
{"FilterClusterportals", '9', RAD_ALT, ID_FILTER_CLUSTERPORTALS, "menu_filter_clusterportals"},
|
||||
{"FilterClusterportals", GDK_KP_9, RAD_ALT, ID_FILTER_CLUSTERPORTALS, "menu_filter_clusterportals"},
|
||||
{"FilterLights", '0', RAD_ALT, ID_FILTER_LIGHTS, "menu_filter_lights"},
|
||||
{"FilterLights", GDK_KP_0, RAD_ALT, ID_FILTER_LIGHTS, "menu_filter_lights"},
|
||||
{"FilterPatches", 'P', RAD_CONTROL, ID_FILTER_PATCHES, "menu_filter_patches"},
|
||||
{"FilterDetails", 'D', RAD_CONTROL, ID_FILTER_DETAILS, "menu_filter_details"},
|
||||
{"FilterStructural", 'D', RAD_CONTROL | RAD_SHIFT, ID_FILTER_STRUCTURAL, "menu_filter_structural"},
|
||||
|
|
Loading…
Reference in a new issue