diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-01 11:45:50 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-08 20:46:00 +0300 |
commit | 2ac65f6153a2da2df7cda908689bb7c1865f088d (patch) | |
tree | 8fafb849b75451ebb0ec6ba8d1c70bfbae2f31a7 /release/scripts/modules | |
parent | 192a99f47784277baa9eab4864bae1b4382b243c (diff) |
UI: new icon set by Andrzej Ambroz.
This is a monochrome icon set, with a more modern look and icons for
various features that did not have a proper icon before.
Diffstat (limited to 'release/scripts/modules')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 4 | ||||
-rw-r--r-- | release/scripts/modules/rna_keymap_ui.py | 8 | ||||
-rw-r--r-- | release/scripts/modules/rna_prop_ui.py | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 52dce466800..913de92ff6d 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -887,7 +887,7 @@ class Menu(StructRNA, _GenericUI, metaclass=RNAMeta): props.menu_idname = self.bl_idname if add_operator: - props = row.operator(add_operator, text="", icon='ZOOMOUT') + props = row.operator(add_operator, text="", icon='REMOVE') props.name = name props.remove_name = True @@ -901,7 +901,7 @@ class Menu(StructRNA, _GenericUI, metaclass=RNAMeta): sub.emboss = 'NORMAL' sub.prop(wm, "preset_name", text="") - props = row.operator(add_operator, text="", icon='ZOOMIN') + props = row.operator(add_operator, text="", icon='ADD') props.name = wm.preset_name def draw_preset(self, context): diff --git a/release/scripts/modules/rna_keymap_ui.py b/release/scripts/modules/rna_keymap_ui.py index 2581d7782f1..752db7fd5ac 100644 --- a/release/scripts/modules/rna_keymap_ui.py +++ b/release/scripts/modules/rna_keymap_ui.py @@ -105,7 +105,7 @@ def draw_km(display_keymaps, kc, km, children, layout, level): subcol = _indented_layout(col, kmi_level) subcol = subcol.split(factor=0.2).column() subcol.operator("wm.keyitem_add", text="Add New", text_ctxt=i18n_contexts.id_windowmanager, - icon='ZOOMIN') + icon='ADD') col.separator() @@ -350,7 +350,7 @@ def draw_filtered(display_keymaps, filter_type, filter_text, layout): # "Add New" at end of keymap item list col = _indented_layout(layout, 1) subcol = col.split(factor=0.2).column() - subcol.operator("wm.keyitem_add", text="Add New", icon='ZOOMIN') + subcol.operator("wm.keyitem_add", text="Add New", icon='ADD') return True @@ -380,8 +380,8 @@ def draw_keymaps(context, layout): if not text: text = "Blender (default)" row.menu("USERPREF_MT_keyconfigs", text=text) - row.operator("wm.keyconfig_preset_add", text="", icon='ZOOMIN') - row.operator("wm.keyconfig_preset_add", text="", icon='ZOOMOUT').remove_active = True + row.operator("wm.keyconfig_preset_add", text="", icon='ADD') + row.operator("wm.keyconfig_preset_add", text="", icon='REMOVE').remove_active = True # layout.context_pointer_set("keyconfig", wm.keyconfigs.active) # row.operator("wm.keyconfig_remove", text="", icon='X') diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py index c987609bafa..fc17cc60c6c 100644 --- a/release/scripts/modules/rna_prop_ui.py +++ b/release/scripts/modules/rna_prop_ui.py @@ -188,7 +188,7 @@ def draw(layout, context, context_member, property_type, use_edit=True): if not is_rna: props = row.operator("wm.properties_edit", text="Edit") assign_props(props, val_draw, key) - props = row.operator("wm.properties_remove", text="", icon='ZOOMOUT') + props = row.operator("wm.properties_remove", text="", icon='REMOVE') assign_props(props, val_draw, key) else: row.label(text="API Defined") |