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:
authorWilliam Reynish <billrey@me.com>2019-05-06 17:47:13 +0300
committerWilliam Reynish <billrey@me.com>2019-05-06 17:47:13 +0300
commitc07b9e23c803b6c864a34b8bdf1955bcd83ba00b (patch)
tree9c34899ebbe49922fb513b7301c827e37f0eb1e1 /source/blender/windowmanager
parent4cdb4b9532c8151ec9f1caba7a764c4f5a334f30 (diff)
UI: Add tooltips to the select tool modes
Especially needed now that they are just icons
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_operator_props.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/windowmanager/intern/wm_operator_props.c b/source/blender/windowmanager/intern/wm_operator_props.c
index 735b9484392..db1f9a32935 100644
--- a/source/blender/windowmanager/intern/wm_operator_props.c
+++ b/source/blender/windowmanager/intern/wm_operator_props.c
@@ -344,11 +344,11 @@ void WM_operator_properties_gesture_box(wmOperatorType *ot)
void WM_operator_properties_select_operation(wmOperatorType *ot)
{
static const EnumPropertyItem select_mode_items[] = {
- {SEL_OP_SET, "SET", ICON_SELECT_SET, "New", ""},
- {SEL_OP_ADD, "ADD", ICON_SELECT_EXTEND, "Add", ""},
- {SEL_OP_SUB, "SUB", ICON_SELECT_SUBTRACT, "Subtract", ""},
- {SEL_OP_XOR, "XOR", ICON_SELECT_DIFFERENCE, "Difference", ""},
- {SEL_OP_AND, "AND", ICON_SELECT_INTERSECT, "Intersect", ""},
+ {SEL_OP_SET, "SET", ICON_SELECT_SET, "Set", "Set a new selection"},
+ {SEL_OP_ADD, "ADD", ICON_SELECT_EXTEND, "Extend", "Extend existing selection"},
+ {SEL_OP_SUB, "SUB", ICON_SELECT_SUBTRACT, "Subtract", "Subtract existing selection"},
+ {SEL_OP_XOR, "XOR", ICON_SELECT_DIFFERENCE, "Difference", "Inverts existing selection"},
+ {SEL_OP_AND, "AND", ICON_SELECT_INTERSECT, "Intersect", "Intersect existing selection"},
{0, NULL, 0, NULL, NULL},
};
PropertyRNA *prop = RNA_def_enum(ot->srna, "mode", select_mode_items, SEL_OP_SET, "Mode", "");
@@ -359,9 +359,9 @@ void WM_operator_properties_select_operation(wmOperatorType *ot)
void WM_operator_properties_select_operation_simple(wmOperatorType *ot)
{
static const EnumPropertyItem select_mode_items[] = {
- {SEL_OP_SET, "SET", ICON_SELECT_SET, "New", ""},
- {SEL_OP_ADD, "ADD", ICON_SELECT_EXTEND, "Add", ""},
- {SEL_OP_SUB, "SUB", ICON_SELECT_SUBTRACT, "Subtract", ""},
+ {SEL_OP_SET, "SET", ICON_SELECT_SET, "Set", "Set a new selection"},
+ {SEL_OP_ADD, "ADD", ICON_SELECT_EXTEND, "Extend", "Extend existing selection"},
+ {SEL_OP_SUB, "SUB", ICON_SELECT_SUBTRACT, "Subtract", "Subtract existing selection"},
{0, NULL, 0, NULL, NULL},
};
PropertyRNA *prop = RNA_def_enum(ot->srna, "mode", select_mode_items, SEL_OP_SET, "Mode", "");