diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-20 19:07:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-20 20:15:41 +0300 |
commit | 1a0181bb6d94252fb4e4873eca8cdedc69c348be (patch) | |
tree | 6f9de01cd421092cf883bc29255bf05ce2ac51fc /source/blender/makesrna/intern/rna_pose.c | |
parent | decc323b4e843c711554ebae632385d52caca113 (diff) |
UI: add support for defining any icon as a mono icon.
Previously it was hardcoded to one row. These icons are colored with the
text color. Changes include some refactoring.
Diffstat (limited to 'source/blender/makesrna/intern/rna_pose.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_pose.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/source/blender/makesrna/intern/rna_pose.c b/source/blender/makesrna/intern/rna_pose.c index 322f5a02f57..d263e02d3f8 100644 --- a/source/blender/makesrna/intern/rna_pose.c +++ b/source/blender/makesrna/intern/rna_pose.c @@ -68,26 +68,26 @@ const EnumPropertyItem rna_enum_posebone_rotmode_items[] = { /* Bone and Group Color Sets */ const EnumPropertyItem rna_enum_color_sets_items[] = { {0, "DEFAULT", 0, "Default Colors", ""}, - {1, "THEME01", VICO_COLORSET_01_VEC, "01 - Theme Color Set", ""}, - {2, "THEME02", VICO_COLORSET_02_VEC, "02 - Theme Color Set", ""}, - {3, "THEME03", VICO_COLORSET_03_VEC, "03 - Theme Color Set", ""}, - {4, "THEME04", VICO_COLORSET_04_VEC, "04 - Theme Color Set", ""}, - {5, "THEME05", VICO_COLORSET_05_VEC, "05 - Theme Color Set", ""}, - {6, "THEME06", VICO_COLORSET_06_VEC, "06 - Theme Color Set", ""}, - {7, "THEME07", VICO_COLORSET_07_VEC, "07 - Theme Color Set", ""}, - {8, "THEME08", VICO_COLORSET_08_VEC, "08 - Theme Color Set", ""}, - {9, "THEME09", VICO_COLORSET_09_VEC, "09 - Theme Color Set", ""}, - {10, "THEME10", VICO_COLORSET_10_VEC, "10 - Theme Color Set", ""}, - {11, "THEME11", VICO_COLORSET_11_VEC, "11 - Theme Color Set", ""}, - {12, "THEME12", VICO_COLORSET_12_VEC, "12 - Theme Color Set", ""}, - {13, "THEME13", VICO_COLORSET_13_VEC, "13 - Theme Color Set", ""}, - {14, "THEME14", VICO_COLORSET_14_VEC, "14 - Theme Color Set", ""}, - {15, "THEME15", VICO_COLORSET_15_VEC, "15 - Theme Color Set", ""}, - {16, "THEME16", VICO_COLORSET_16_VEC, "16 - Theme Color Set", ""}, - {17, "THEME17", VICO_COLORSET_17_VEC, "17 - Theme Color Set", ""}, - {18, "THEME18", VICO_COLORSET_18_VEC, "18 - Theme Color Set", ""}, - {19, "THEME19", VICO_COLORSET_19_VEC, "19 - Theme Color Set", ""}, - {20, "THEME20", VICO_COLORSET_20_VEC, "20 - Theme Color Set", ""}, + {1, "THEME01", ICON_COLORSET_01_VEC, "01 - Theme Color Set", ""}, + {2, "THEME02", ICON_COLORSET_02_VEC, "02 - Theme Color Set", ""}, + {3, "THEME03", ICON_COLORSET_03_VEC, "03 - Theme Color Set", ""}, + {4, "THEME04", ICON_COLORSET_04_VEC, "04 - Theme Color Set", ""}, + {5, "THEME05", ICON_COLORSET_05_VEC, "05 - Theme Color Set", ""}, + {6, "THEME06", ICON_COLORSET_06_VEC, "06 - Theme Color Set", ""}, + {7, "THEME07", ICON_COLORSET_07_VEC, "07 - Theme Color Set", ""}, + {8, "THEME08", ICON_COLORSET_08_VEC, "08 - Theme Color Set", ""}, + {9, "THEME09", ICON_COLORSET_09_VEC, "09 - Theme Color Set", ""}, + {10, "THEME10", ICON_COLORSET_10_VEC, "10 - Theme Color Set", ""}, + {11, "THEME11", ICON_COLORSET_11_VEC, "11 - Theme Color Set", ""}, + {12, "THEME12", ICON_COLORSET_12_VEC, "12 - Theme Color Set", ""}, + {13, "THEME13", ICON_COLORSET_13_VEC, "13 - Theme Color Set", ""}, + {14, "THEME14", ICON_COLORSET_14_VEC, "14 - Theme Color Set", ""}, + {15, "THEME15", ICON_COLORSET_15_VEC, "15 - Theme Color Set", ""}, + {16, "THEME16", ICON_COLORSET_16_VEC, "16 - Theme Color Set", ""}, + {17, "THEME17", ICON_COLORSET_17_VEC, "17 - Theme Color Set", ""}, + {18, "THEME18", ICON_COLORSET_18_VEC, "18 - Theme Color Set", ""}, + {19, "THEME19", ICON_COLORSET_19_VEC, "19 - Theme Color Set", ""}, + {20, "THEME20", ICON_COLORSET_20_VEC, "20 - Theme Color Set", ""}, {-1, "CUSTOM", 0, "Custom Color Set", ""}, {0, NULL, 0, NULL, NULL} }; |