diff options
author | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-12-17 14:04:59 -0600 |
---|---|---|
committer | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-12-17 14:06:11 -0600 |
commit | c8c280a68a3f9f513ba4d61f32e6a9c775728dc2 (patch) | |
tree | d50d29d8c509b99c7ac1882dc26bcf9e3de85622 /editor | |
parent | 1ef123c57db0ab5f6395dd5e206234b0ed03f7b6 (diff) |
Now every variant type has its icon.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/icons/SCsub | 3 | ||||
-rw-r--r-- | editor/icons/icon_a_a_b_b.svg (renamed from editor/icons/icon_aabb.svg) | 0 | ||||
-rw-r--r-- | editor/icons/icon_nil.svg | 3 |
3 files changed, 6 insertions, 0 deletions
diff --git a/editor/icons/SCsub b/editor/icons/SCsub index e28c229a38..0e4a4796ec 100644 --- a/editor/icons/SCsub +++ b/editor/icons/SCsub @@ -49,6 +49,9 @@ def make_editor_icons_action(target, source, env): fname = str(f) icon_name = os.path.basename(fname)[5:-4].title().replace("_", "") + # some special cases + if icon_name in ['Int', 'Bool', 'Float']: + icon_name = icon_name.lower() if icon_name.endswith("MediumThumb"): # dont know a better way to handle this thumb_medium_indices.append(str(index)) if icon_name.endswith("BigThumb"): # dont know a better way to handle this diff --git a/editor/icons/icon_aabb.svg b/editor/icons/icon_a_a_b_b.svg index 1af05f9b68..1af05f9b68 100644 --- a/editor/icons/icon_aabb.svg +++ b/editor/icons/icon_a_a_b_b.svg diff --git a/editor/icons/icon_nil.svg b/editor/icons/icon_nil.svg new file mode 100644 index 0000000000..b266161c2b --- /dev/null +++ b/editor/icons/icon_nil.svg @@ -0,0 +1,3 @@ +<svg width="16" height="12" version="1.1" viewBox="0 0 16 12" xmlns="http://www.w3.org/2000/svg"> +<path d="m8 2v2h2v-2zm4 0v5c0 1.6569 1.3431 3 3 3h1v-2h-1c-0.55228-9.6e-6 -0.99999-0.44772-1-1v-5zm-11 2v6h2v-4h1c0.55228 9.6e-6 0.99999 0.44772 1 1v3h2v-3c0-1.6569-1.3431-3-3-3zm7 2v4h2v-4z" fill="#e0e0e0"/> +</svg> |