Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-10-28 20:22:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-28 20:50:04 +0300
commit43a8fdb6addf3a31b34cdd5d7989e428bec37c07 (patch)
tree88887ee4fa3b7442a35a7d58b85a643c564ce8cf
parentc050247edcdd477c2d16cec9d6c02fde2df3ad6d (diff)
UI: add icon for drawing space key
Drawing was already added, only the icon was missing.
-rw-r--r--source/blender/editors/include/UI_icons.h1
-rw-r--r--source/blender/editors/interface/interface_icons.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_icons.h b/source/blender/editors/include/UI_icons.h
index 4e4db46adf6..1c2bc54d821 100644
--- a/source/blender/editors/include/UI_icons.h
+++ b/source/blender/editors/include/UI_icons.h
@@ -1027,6 +1027,7 @@ DEF_ICON_COLOR(EVENT_TAB)
DEF_ICON_COLOR(EVENT_PAGEUP)
DEF_ICON_COLOR(EVENT_PAGEDOWN)
DEF_ICON_COLOR(EVENT_RETURN)
+DEF_ICON_COLOR(EVENT_SPACEKEY)
/* add as needed. */
/* Undefine all types. */
diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c
index 1495fb7e716..ab5fdfd69e0 100644
--- a/source/blender/editors/interface/interface_icons.c
+++ b/source/blender/editors/interface/interface_icons.c
@@ -694,6 +694,7 @@ static void init_event_icons(void)
INIT_EVENT_ICON(ICON_EVENT_PAGEUP, PAGEUPKEY, KM_ANY);
INIT_EVENT_ICON(ICON_EVENT_PAGEDOWN, PAGEDOWNKEY, KM_ANY);
INIT_EVENT_ICON(ICON_EVENT_RETURN, RETKEY, KM_ANY);
+ INIT_EVENT_ICON(ICON_EVENT_SPACEKEY, SPACEKEY, KM_ANY);
g_di_event_list = di_next;