Theme: set default theme 'Flatty Dark Blueberry'
The theme is now stored in generated C code, which can be extracted from existing user preferences. This theme can then be used for version patching themes instead of duplicating values Note that theme versioning has been removed, since minor changes from now on won't apply well on top of 2.7x theme. Theme colors from interface_widgets.c have been removed too.
This commit is contained in:
2072
release/datafiles/userdef/userdef_default_theme.c
Normal file
2072
release/datafiles/userdef/userdef_default_theme.c
Normal file
@@ -0,0 +1,2072 @@
|
||||
/*
|
||||
* Generated by 'source/tools/utils/blender_theme_as_c.py'
|
||||
*
|
||||
* Do not hand edit this file!
|
||||
*/
|
||||
|
||||
#include "DNA_userdef_types.h"
|
||||
|
||||
#include "BLO_readfile.h"
|
||||
|
||||
#ifdef __LITTLE_ENDIAN__
|
||||
# define RGBA(c) {((c) >> 24) & 0xff, ((c) >> 16) & 0xff, ((c) >> 8) & 0xff, (c) & 0xff}
|
||||
# define RGB(c) {((c) >> 16) & 0xff, ((c) >> 8) & 0xff, (c) & 0xff}
|
||||
#else
|
||||
# define RGBA(c) {(c) & 0xff, ((c) >> 8) & 0xff, ((c) >> 16) & 0xff, ((c) >> 24) & 0xff}
|
||||
# define RGB(c) {(c) & 0xff, ((c) >> 8) & 0xff, ((c) >> 16) & 0xff}
|
||||
#endif
|
||||
|
||||
const bTheme U_theme_default = {
|
||||
.name = "Default",
|
||||
.tui = {
|
||||
.wcol_regular = {
|
||||
.outline = RGBA(0x38393e00),
|
||||
.inner = RGBA(0x505158ff),
|
||||
.inner_sel = RGBA(0x80858aff),
|
||||
.item = RGBA(0x38393eff),
|
||||
.text = RGBA(0xebebebff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shadedown = -5,
|
||||
.roundness = 0.2f,
|
||||
},
|
||||
.wcol_tool = {
|
||||
.outline = RGBA(0x2f2f3400),
|
||||
.inner = RGBA(0x505158ff),
|
||||
.inner_sel = RGBA(0x2f2f34ff),
|
||||
.item = RGBA(0xe6ebffff),
|
||||
.text = RGBA(0xf2f2f2ff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shadedown = -5,
|
||||
.roundness = 0.2f,
|
||||
},
|
||||
.wcol_toolbar_item = {
|
||||
.outline = RGBA(0x19191900),
|
||||
.inner = RGBA(0x505158ff),
|
||||
.inner_sel = RGBA(0x2d2d33ff),
|
||||
.item = RGBA(0x191919ff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.roundness = 0.25f,
|
||||
},
|
||||
.wcol_text = {
|
||||
.outline = RGBA(0x43454d00),
|
||||
.inner = RGBA(0x2d2e33ff),
|
||||
.inner_sel = RGBA(0x717280ff),
|
||||
.item = RGBA(0x599eb3ff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shaded = 1,
|
||||
.shadetop = -3,
|
||||
.roundness = 0.2f,
|
||||
},
|
||||
.wcol_radio = {
|
||||
.outline = RGBA(0x42435200),
|
||||
.inner = RGBA(0x505158ff),
|
||||
.inner_sel = RGBA(0x2d2d33ff),
|
||||
.item = RGBA(0xffffffff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shadetop = 5,
|
||||
.shadedown = -5,
|
||||
.roundness = 0.2f,
|
||||
},
|
||||
.wcol_option = {
|
||||
.outline = RGBA(0x42435200),
|
||||
.inner = RGBA(0x5c5c66cc),
|
||||
.inner_sel = RGBA(0x70707cff),
|
||||
.item = RGBA(0xffffffff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shadedown = -15,
|
||||
.roundness = 0.25f,
|
||||
},
|
||||
.wcol_toggle = {
|
||||
.outline = RGBA(0x43434d00),
|
||||
.inner = RGBA(0x595966ff),
|
||||
.inner_sel = RGBA(0x3f7d80ff),
|
||||
.item = RGBA(0x191919ff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.roundness = 0.25f,
|
||||
},
|
||||
.wcol_num = {
|
||||
.outline = RGBA(0x46464d00),
|
||||
.inner = RGBA(0x505158ff),
|
||||
.inner_sel = RGBA(0x3f7780ff),
|
||||
.item = RGBA(0x46464dff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shaded = 1,
|
||||
.roundness = 0.3f,
|
||||
},
|
||||
.wcol_numslider = {
|
||||
.outline = RGBA(0x46464d00),
|
||||
.inner = RGBA(0x3f3f47ff),
|
||||
.inner_sel = RGBA(0x3f7780ff),
|
||||
.item = RGBA(0x505158ff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shaded = 1,
|
||||
.shadetop = -4,
|
||||
.roundness = 0.4f,
|
||||
},
|
||||
.wcol_tab = {
|
||||
.outline = RGBA(0x28292d00),
|
||||
.inner = RGBA(0x323239ff),
|
||||
.inner_sel = RGBA(0x43444bff),
|
||||
.item = RGBA(0x28292dff),
|
||||
.text = RGBA(0xbebebeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.roundness = 0.15f,
|
||||
},
|
||||
.wcol_menu = {
|
||||
.outline = RGBA(0x43454d00),
|
||||
.inner = RGBA(0x29282eff),
|
||||
.inner_sel = RGBA(0x505158ff),
|
||||
.item = RGBA(0xe6e6e6ff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xccccccff),
|
||||
.shadetop = 10,
|
||||
.shadedown = -10,
|
||||
.roundness = 0.2f,
|
||||
},
|
||||
.wcol_pulldown = {
|
||||
.outline = RGBA(0x43454d00),
|
||||
.inner = RGBA(0x29282e99),
|
||||
.inner_sel = RGBA(0x505158ff),
|
||||
.item = RGBA(0x696a72ff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shadetop = 25,
|
||||
.shadedown = -20,
|
||||
.roundness = 0.2f,
|
||||
},
|
||||
.wcol_menu_back = {
|
||||
.outline = RGBA(0x29282e00),
|
||||
.inner = RGBA(0x1f1f1fef),
|
||||
.inner_sel = RGBA(0x505158ff),
|
||||
.item = RGBA(0x696a72ff),
|
||||
.text = RGBA(0xb3b3b3ff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shadetop = 25,
|
||||
.shadedown = -20,
|
||||
.roundness = 0.25f,
|
||||
},
|
||||
.wcol_menu_item = {
|
||||
.inner_sel = RGBA(0x505158ff),
|
||||
.item = RGBA(0xacacac80),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shadetop = 38,
|
||||
.roundness = 0.25f,
|
||||
},
|
||||
.wcol_tooltip = {
|
||||
.outline = RGBA(0x2f303500),
|
||||
.inner = RGBA(0x19191aef),
|
||||
.inner_sel = RGBA(0x19191aef),
|
||||
.item = RGBA(0x19191aef),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shadetop = 25,
|
||||
.shadedown = -20,
|
||||
.roundness = 0.25f,
|
||||
},
|
||||
.wcol_box = {
|
||||
.outline = RGBA(0x2d2e3300),
|
||||
.inner = RGBA(0x43454dff),
|
||||
.inner_sel = RGBA(0x3f7780ff),
|
||||
.item = RGBA(0x191919ff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.roundness = 0.2f,
|
||||
},
|
||||
.wcol_scroll = {
|
||||
.outline = RGBA(0x2f303500),
|
||||
.inner = RGBA(0x585a6700),
|
||||
.inner_sel = RGBA(0x599eb3ff),
|
||||
.item = RGBA(0x585a67ff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shadetop = 5,
|
||||
.shadedown = -5,
|
||||
.roundness = 0.5f,
|
||||
},
|
||||
.wcol_progress = {
|
||||
.outline = RGBA(0xb3b3b300),
|
||||
.inner = RGBA(0xccccccff),
|
||||
.inner_sel = RGBA(0x646464b4),
|
||||
.item = RGBA(0x599eb3ff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.roundness = 0.25f,
|
||||
},
|
||||
.wcol_list_item = {
|
||||
.outline = RGBA(0x28292d00),
|
||||
.inner = RGBA(0x28292d00),
|
||||
.inner_sel = RGBA(0x5f616fff),
|
||||
.item = RGBA(0x599eb3ff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.roundness = 0.2f,
|
||||
},
|
||||
.wcol_pie_menu = {
|
||||
.outline = RGBA(0x29282e00),
|
||||
.inner = RGBA(0x29282eff),
|
||||
.inner_sel = RGBA(0x505158ff),
|
||||
.item = RGBA(0x696a72ff),
|
||||
.text = RGBA(0xeeeeeeff),
|
||||
.text_sel = RGBA(0xffffffff),
|
||||
.shadetop = 10,
|
||||
.shadedown = -10,
|
||||
.roundness = 0.5f,
|
||||
},
|
||||
.wcol_state = {
|
||||
.inner_anim = RGBA(0x73be4c00),
|
||||
.inner_anim_sel = RGBA(0x5aa633ff),
|
||||
.inner_key = RGBA(0xf0eb64ff),
|
||||
.inner_key_sel = RGBA(0xd7d34bff),
|
||||
.inner_driven = RGBA(0xb400ffff),
|
||||
.inner_driven_sel = RGBA(0x9900e6ff),
|
||||
.blend = 0.5f,
|
||||
},
|
||||
.panel = {
|
||||
.back = RGBA(0x72727280),
|
||||
},
|
||||
.widget_emboss = RGBA(0x00000005),
|
||||
.menu_shadow_fac = 0.3f,
|
||||
.menu_shadow_width = 4,
|
||||
.editor_outline = RGBA(0x1c1d20ff),
|
||||
.icon_alpha = 1.0f,
|
||||
.icon_saturation = 0.4f,
|
||||
.xaxis = RGBA(0xff3352ff),
|
||||
.yaxis = RGBA(0x8bdc00ff),
|
||||
.zaxis = RGBA(0x2890ffff),
|
||||
.manipulator_hi = RGBA(0xffffffff),
|
||||
.manipulator_primary = RGBA(0xf5f14dff),
|
||||
.manipulator_secondary = RGBA(0x63ffffff),
|
||||
.manipulator_a = RGBA(0x4da84dff),
|
||||
.manipulator_b = RGBA(0xa33535ff),
|
||||
},
|
||||
.tbuts = {
|
||||
.back = RGBA(0x3a3c4200),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c42ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x404040ff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
},
|
||||
.tv3d = {
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c4200),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303500),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
.gradient = RGBA(0x2d2d2e00),
|
||||
.high_gradient = RGBA(0x474748ff),
|
||||
.show_grad = 1,
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x1f1f23ff),
|
||||
.view_overlay = RGBA(0x80808000),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.wire_edit = RGBA(0x111111ff),
|
||||
.select = RGBA(0xed5700ff),
|
||||
.lamp = RGBA(0x9f986e33),
|
||||
.speaker = RGBA(0xb6b6b6ff),
|
||||
.empty = RGBA(0xb6b6b6ff),
|
||||
.camera = RGBA(0xd9d9d9ff),
|
||||
.active = RGBA(0xffa028ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.vertex_bevel = RGBA(0x00a5ffff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.edge_bevel = RGBA(0x00a5ffff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85004d),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x150806ff),
|
||||
.extra_edge_angle = RGBA(0x4d4d0000),
|
||||
.extra_face_angle = RGBA(0x0000ccff),
|
||||
.extra_face_area = RGBA(0x004d00ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.loop_normal = RGBA(0xdd23ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.time_keyframe = RGBA(0xddd700ff),
|
||||
.time_gp_keyframe = RGBA(0xb5e61dff),
|
||||
.freestyle_edge_mark = RGBA(0x7fff7fff),
|
||||
.freestyle_face_mark = RGBA(0x7fff7f33),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 3,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.clipping_border_3d = RGBA(0x313131ff),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.gp_vertex_size = 3,
|
||||
.gp_vertex = RGBA(0x000000ff),
|
||||
.gp_vertex_select = RGBA(0xff8500ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
.paint_curve_pivot = RGBA(0xff7f7f7f),
|
||||
.paint_curve_handle = RGBA(0x7fff7f7f),
|
||||
},
|
||||
.tfile = {
|
||||
.back = RGBA(0x2f303500),
|
||||
.title = RGBA(0xffffffff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x29282eff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x666666ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.hilite = RGBA(0x5b8199ff),
|
||||
.grid = RGBA(0xfafafaff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0x828282ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.movie = RGBA(0xfafafaff),
|
||||
.image = RGBA(0xfafafaff),
|
||||
.scene = RGBA(0xfafafaff),
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
},
|
||||
.tipo = {
|
||||
.back = RGBA(0x2f303500),
|
||||
.title = RGBA(0xffffffff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x29282eff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x29282eff),
|
||||
.list_title = RGBA(0xffffffff),
|
||||
.list_text = RGBA(0xccccccff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade1 = RGBA(0x96969600),
|
||||
.shade2 = RGBA(0x29282e64),
|
||||
.hilite = RGBA(0x60c040ff),
|
||||
.grid = RGBA(0x17171aff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x247f0dff),
|
||||
.group_active = RGBA(0x46a431ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x308837ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_auto_clamped = RGBA(0x994030ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.handle_sel_auto_clamped = RGBA(0xf0af90ff),
|
||||
.ds_channel = RGBA(0x26537fff),
|
||||
.ds_subchannel = RGBA(0x6a90b2ff),
|
||||
.vertex_size = 6,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.handle_vertex = RGBA(0x000000ff),
|
||||
.handle_vertex_select = RGBA(0xff8500ff),
|
||||
.handle_vertex_size = 5,
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
.anim_active = RGBA(0xcc701a66),
|
||||
},
|
||||
.tinfo = {
|
||||
.back = RGBA(0x3a3c4200),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c42ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x404040ff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
.info_selected = RGBA(0x6080ffff),
|
||||
.info_selected_text = RGBA(0xffffffff),
|
||||
.info_error = RGBA(0x990000ff),
|
||||
.info_error_text = RGBA(0xffffffff),
|
||||
.info_warning = RGBA(0xb36a00ff),
|
||||
.info_warning_text = RGBA(0xffffffff),
|
||||
.info_info = RGBA(0x668000ff),
|
||||
.info_info_text = RGBA(0xffffffff),
|
||||
.info_debug = RGBA(0xd3d3d3ff),
|
||||
.info_debug_text = RGBA(0x000000ff),
|
||||
},
|
||||
.tact = {
|
||||
.back = RGBA(0x3a3c4200),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c42ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x29282eff),
|
||||
.list_title = RGBA(0xd8d8d8ff),
|
||||
.list_text = RGBA(0xffffffff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade1 = RGBA(0xc0c0c000),
|
||||
.shade2 = RGBA(0x70707064),
|
||||
.hilite = RGBA(0x60c040ff),
|
||||
.grid = RGBA(0x17171aff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x278c0eff),
|
||||
.group_active = RGBA(0x4eb335ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.strip = RGBA(0x1a151580),
|
||||
.strip_select = RGBA(0xff8c00ff),
|
||||
.cframe = RGBA(0x308837ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_auto_clamped = RGBA(0x994030ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.handle_sel_auto_clamped = RGBA(0xf0af90ff),
|
||||
.ds_channel = RGBA(0x2e6399ff),
|
||||
.ds_subchannel = RGBA(0x5a7996ff),
|
||||
.keytype_keyframe = RGBA(0xe8e8e8ff),
|
||||
.keytype_extreme = RGBA(0xe8b3ccff),
|
||||
.keytype_breakdown = RGBA(0xb3dbe8ff),
|
||||
.keytype_jitter = RGBA(0x94e575ff),
|
||||
.keytype_keyframe_select = RGBA(0xffbe33ff),
|
||||
.keytype_extreme_select = RGBA(0xf28080ff),
|
||||
.keytype_breakdown_select = RGBA(0x54bfedff),
|
||||
.keytype_jitter_select = RGBA(0x61c042ff),
|
||||
.keyborder = RGBA(0x000000ff),
|
||||
.keyborder_select = RGBA(0x000000ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.keyframe_scale_fac = 1.0f,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.handle_vertex = RGBA(0x000000ff),
|
||||
.handle_vertex_select = RGBA(0xff8500ff),
|
||||
.handle_vertex_size = 4,
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
.anim_active = RGBA(0x66310066),
|
||||
},
|
||||
.tnla = {
|
||||
.back = RGBA(0x2f303500),
|
||||
.title = RGBA(0xffffffff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x29282eff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x29282eff),
|
||||
.list_title = RGBA(0xffffffff),
|
||||
.list_text = RGBA(0xccccccff),
|
||||
.list_text_hi = RGBA(0xccccccff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade1 = RGBA(0x96969600),
|
||||
.shade2 = RGBA(0x70707064),
|
||||
.hilite = RGBA(0x60c040ff),
|
||||
.grid = RGBA(0x5e5e5eff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x4f6549ff),
|
||||
.group_active = RGBA(0x87b17dff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.strip = RGBA(0x0c0a0a80),
|
||||
.strip_select = RGBA(0xff8c00ff),
|
||||
.cframe = RGBA(0x308837ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_auto_clamped = RGBA(0x994030ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.handle_sel_auto_clamped = RGBA(0xf0af90ff),
|
||||
.ds_channel = RGBA(0x52606eff),
|
||||
.ds_subchannel = RGBA(0x7c8996ff),
|
||||
.keyborder = RGBA(0x000000ff),
|
||||
.keyborder_select = RGBA(0x000000ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.handle_vertex = RGBA(0x000000ff),
|
||||
.handle_vertex_select = RGBA(0xff8500ff),
|
||||
.handle_vertex_size = 4,
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
.anim_active = RGBA(0xcc701a66),
|
||||
.anim_non_active = RGBA(0x9987614d),
|
||||
.nla_tweaking = RGBA(0x4df31a4d),
|
||||
.nla_tweakdupli = RGBA(0xd90000ff),
|
||||
.nla_transition = RGBA(0x1c2630ff),
|
||||
.nla_transition_sel = RGBA(0x2e75dbff),
|
||||
.nla_meta = RGBA(0x332642ff),
|
||||
.nla_meta_sel = RGBA(0x692196ff),
|
||||
.nla_sound = RGBA(0x2b3d3dff),
|
||||
.nla_sound_sel = RGBA(0x1f7a7aff),
|
||||
},
|
||||
.tseq = {
|
||||
.back = RGBA(0x3a3c4200),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c42ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade1 = RGBA(0xa0a0a000),
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x404040ff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x308837ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.movie = RGBA(0x516987ff),
|
||||
.movieclip = RGBA(0x20208fff),
|
||||
.mask = RGBA(0x984e3eff),
|
||||
.image = RGBA(0x6d5881ff),
|
||||
.scene = RGBA(0x4e983eff),
|
||||
.audio = RGBA(0x2e8f8fff),
|
||||
.effect = RGBA(0xa9547cff),
|
||||
.transition = RGBA(0xa25f6fff),
|
||||
.meta = RGBA(0x6d9183ff),
|
||||
.text_strip = RGBA(0xa29700ff),
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.gp_vertex_size = 3,
|
||||
.gp_vertex = RGBA(0x000000ff),
|
||||
.gp_vertex_select = RGBA(0xff8500ff),
|
||||
.preview_back = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
.anim_active = RGBA(0xcc701a66),
|
||||
.metadatatext = RGBA(0xffffffff),
|
||||
},
|
||||
.tima = {
|
||||
.back = RGBA(0x44444400),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c42ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x404040ff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.wire_edit = RGBA(0xc0c0c0ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xff8500ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0xffffff0a),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.freestyle_face_mark = RGBA(0x7fff7f33),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 3,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.handle_vertex = RGBA(0x000000ff),
|
||||
.handle_vertex_select = RGBA(0xffff00ff),
|
||||
.handle_vertex_size = 5,
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.gp_vertex_size = 3,
|
||||
.gp_vertex = RGBA(0x000000ff),
|
||||
.gp_vertex_select = RGBA(0xff8500ff),
|
||||
.preview_back = RGBA(0x727272ff),
|
||||
.preview_stitch_face = RGBA(0x7f7f0033),
|
||||
.preview_stitch_edge = RGBA(0xff00ff33),
|
||||
.preview_stitch_vert = RGBA(0x0000ff33),
|
||||
.preview_stitch_stitchable = RGBA(0x00ff00ff),
|
||||
.preview_stitch_unstitchable = RGBA(0xff0000ff),
|
||||
.preview_stitch_active = RGBA(0xe1d2c323),
|
||||
.uv_shadow = RGBA(0x707070ff),
|
||||
.uv_others = RGBA(0x606060ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
.paint_curve_pivot = RGBA(0xff7f7f7f),
|
||||
.paint_curve_handle = RGBA(0x7fff7f7f),
|
||||
.metadatatext = RGBA(0xffffffff),
|
||||
},
|
||||
.text = {
|
||||
.back = RGBA(0x22242700),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c42ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x19191aff),
|
||||
.hilite = RGBA(0xff0000ff),
|
||||
.grid = RGBA(0x313133ff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.syntaxl = RGBA(0xf6e162ff),
|
||||
.syntaxs = RGBA(0xff734dff),
|
||||
.syntaxb = RGBA(0xff1961ff),
|
||||
.syntaxn = RGBA(0x50dbffff),
|
||||
.syntaxv = RGBA(0x95d600ff),
|
||||
.syntaxc = RGBA(0x939393ff),
|
||||
.syntaxd = RGBA(0xad80ffff),
|
||||
.syntaxr = RGBA(0xc4753bff),
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
},
|
||||
.toops = {
|
||||
.back = RGBA(0x3a3c4200),
|
||||
.title = RGBA(0xffffffff),
|
||||
.text = RGBA(0xdededeff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3f3f45ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x404040ff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.match = RGBA(0x337f334c),
|
||||
.selected_highlight = RGBA(0x747a834c),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
},
|
||||
.ttime = {
|
||||
.title = RGBA(0x000000ff),
|
||||
.text = RGBA(0x000000ff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x727272ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0x000000ff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x727272ff),
|
||||
.tab_inactive = RGBA(0x535353ff),
|
||||
.tab_back = RGBA(0x404040ff),
|
||||
.tab_outline = RGBA(0x3c3c3cff),
|
||||
.button = RGBA(0x727272ff),
|
||||
.button_title = RGBA(0x000000ff),
|
||||
.button_text = RGBA(0x000000ff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.back = RGBA(0x72727280),
|
||||
.sub_back = RGBA(0x00000019),
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x5b5b5bff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.time_keyframe = RGBA(0x000000ff),
|
||||
.time_gp_keyframe = RGBA(0x000000ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
},
|
||||
.tnode = {
|
||||
.back = RGBA(0x2a2c3200),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c42ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x29282eff),
|
||||
.list_title = RGBA(0xffffffff),
|
||||
.list_text = RGBA(0xccccccff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x393939ff),
|
||||
.wire = RGBA(0x808080ff),
|
||||
.select = RGBA(0x099be6ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffffffff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffffffff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.console_output = RGBA(0xdfc300ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.syntaxl = RGBA(0x5a5c66ff),
|
||||
.syntaxs = RGBA(0x977474ff),
|
||||
.syntaxb = RGBA(0xffcb4dff),
|
||||
.syntaxn = RGBA(0xff6675ff),
|
||||
.syntaxv = RGBA(0x66c4ffff),
|
||||
.syntaxc = RGBA(0x59b36aff),
|
||||
.syntaxd = RGBA(0x749797ff),
|
||||
.syntaxr = RGBA(0x808080ff),
|
||||
.nodeclass_output = RGBA(0xff6675ff),
|
||||
.nodeclass_filter = RGBA(0x6c696fff),
|
||||
.nodeclass_vector = RGBA(0x9999ffff),
|
||||
.nodeclass_texture = RGBA(0xffc399ff),
|
||||
.nodeclass_shader = RGBA(0xa7ff99ff),
|
||||
.nodeclass_script = RGBA(0x6c696fff),
|
||||
.nodeclass_pattern = RGBA(0x6c696fff),
|
||||
.nodeclass_layout = RGBA(0x6c696fff),
|
||||
.movie = RGBA(0x9b9b9ba0),
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.gp_vertex_size = 3,
|
||||
.gp_vertex = RGBA(0x000000ff),
|
||||
.gp_vertex_select = RGBA(0xff8500ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
},
|
||||
.tuserpref = {
|
||||
.back = RGBA(0x3a3c4200),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c42ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x404040ff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
},
|
||||
.tconsole = {
|
||||
.back = RGBA(0x22242700),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c42ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x404040ff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.console_output = RGBA(0xb3c2ffff),
|
||||
.console_input = RGBA(0xffffffff),
|
||||
.console_info = RGBA(0x47b347ff),
|
||||
.console_error = RGBA(0xde6f6fff),
|
||||
.console_cursor = RGBA(0xde5959ff),
|
||||
.console_select = RGBA(0xffffff30),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
},
|
||||
.tclip = {
|
||||
.back = RGBA(0x3a3c4200),
|
||||
.title = RGBA(0xeeeeeeff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x3a3c42ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0x666666ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x5e5e5eff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.strip = RGBA(0x0c0a0a80),
|
||||
.strip_select = RGBA(0xff8c00ff),
|
||||
.cframe = RGBA(0x308837ff),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.handle_vertex = RGBA(0x000000ff),
|
||||
.handle_vertex_select = RGBA(0xffff00ff),
|
||||
.handle_vertex_size = 5,
|
||||
.marker_outline = RGBA(0x000000ff),
|
||||
.marker = RGBA(0x7f7f00ff),
|
||||
.act_marker = RGBA(0xffffffff),
|
||||
.sel_marker = RGBA(0xffff00ff),
|
||||
.dis_marker = RGBA(0x7f0000ff),
|
||||
.lock_marker = RGBA(0x7f7f7fff),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.path_before = RGBA(0xff0000ff),
|
||||
.path_after = RGBA(0x0000ffff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.gp_vertex_size = 1,
|
||||
.gp_vertex = RGBA(0x000000ff),
|
||||
.gp_vertex_select = RGBA(0x000000ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
.metadatatext = RGBA(0xffffffff),
|
||||
},
|
||||
.ttopbar = {
|
||||
.back = RGBA(0x43444b00),
|
||||
.title = RGBA(0xffffffff),
|
||||
.text = RGBA(0xffffffff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x1f1f23ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0xeeeeeeff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f303599),
|
||||
.button_title = RGBA(0xffffffff),
|
||||
.button_text = RGBA(0xffffffff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
.high_gradient = RGBA(0x393939ff),
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x404040ff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.wire_edit = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.vertex_bevel = RGBA(0x00a5ffff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.edge_bevel = RGBA(0x00a5ffff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.loop_normal = RGBA(0xdd23ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.time_keyframe = RGBA(0xddd700ff),
|
||||
.time_gp_keyframe = RGBA(0xb5e61dff),
|
||||
.freestyle_edge_mark = RGBA(0x7fff7fff),
|
||||
.freestyle_face_mark = RGBA(0x7fff7f33),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.clipping_border_3d = RGBA(0x313131ff),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.gp_vertex_size = 3,
|
||||
.gp_vertex = RGBA(0x000000ff),
|
||||
.gp_vertex_select = RGBA(0xff8500ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
.paint_curve_pivot = RGBA(0xff7f7f7f),
|
||||
.paint_curve_handle = RGBA(0x7fff7f7f),
|
||||
},
|
||||
.tstatusbar = {
|
||||
.back = RGBA(0x29282e00),
|
||||
.title = RGBA(0xe4e8ffff),
|
||||
.text = RGBA(0x747a83ff),
|
||||
.text_hi = RGBA(0xffffffff),
|
||||
.header = RGBA(0x1f1f23ff),
|
||||
.header_title = RGBA(0x000000ff),
|
||||
.header_text = RGBA(0x959eaaff),
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.tab_active = RGBA(0x43444bff),
|
||||
.tab_inactive = RGBA(0x323239ff),
|
||||
.tab_back = RGBA(0x1f1f23ff),
|
||||
.tab_outline = RGBA(0x28292dff),
|
||||
.button = RGBA(0x2f3035ff),
|
||||
.button_title = RGBA(0x000000ff),
|
||||
.button_text = RGBA(0x000000ff),
|
||||
.button_text_hi = RGBA(0xffffffff),
|
||||
.list = RGBA(0xa5a5a5ff),
|
||||
.list_title = RGBA(0x000000ff),
|
||||
.list_text = RGBA(0x000000ff),
|
||||
.list_text_hi = RGBA(0xffffffff),
|
||||
.panelcolors = {
|
||||
.header = RGBA(0x3a3c42cc),
|
||||
.back = RGBA(0x2c2e33b3),
|
||||
.sub_back = RGBA(0x0000003e),
|
||||
.show_header = 1,
|
||||
.show_back = 1,
|
||||
},
|
||||
.gradients = {
|
||||
.high_gradient = RGBA(0x393939ff),
|
||||
},
|
||||
.shade2 = RGBA(0x7f707064),
|
||||
.grid = RGBA(0x404040ff),
|
||||
.wire = RGBA(0x000000ff),
|
||||
.wire_edit = RGBA(0x000000ff),
|
||||
.select = RGBA(0xf15800ff),
|
||||
.lamp = RGBA(0x00000028),
|
||||
.speaker = RGBA(0x000000ff),
|
||||
.empty = RGBA(0x000000ff),
|
||||
.camera = RGBA(0x000000ff),
|
||||
.active = RGBA(0xffaa40ff),
|
||||
.group = RGBA(0x083008ff),
|
||||
.group_active = RGBA(0x55bb55ff),
|
||||
.transform = RGBA(0xffffffff),
|
||||
.vertex = RGBA(0x000000ff),
|
||||
.vertex_select = RGBA(0xff8500ff),
|
||||
.vertex_bevel = RGBA(0x00a5ffff),
|
||||
.edge = RGBA(0x000000ff),
|
||||
.edge_select = RGBA(0xffa000ff),
|
||||
.edge_seam = RGBA(0xdb2512ff),
|
||||
.edge_sharp = RGBA(0x00ffffff),
|
||||
.edge_facesel = RGBA(0x4b4b4bff),
|
||||
.edge_crease = RGBA(0xcc0099ff),
|
||||
.edge_bevel = RGBA(0x00a5ffff),
|
||||
.face = RGBA(0x00000012),
|
||||
.face_select = RGBA(0xff85003c),
|
||||
.face_dot = RGBA(0xff8500ff),
|
||||
.extra_edge_len = RGBA(0x200000ff),
|
||||
.extra_face_angle = RGBA(0x000080ff),
|
||||
.extra_face_area = RGBA(0x002000ff),
|
||||
.normal = RGBA(0x22ddddff),
|
||||
.vertex_normal = RGBA(0x2361ddff),
|
||||
.loop_normal = RGBA(0xdd23ddff),
|
||||
.bone_solid = RGBA(0xc8c8c8ff),
|
||||
.bone_pose = RGBA(0x50c8ff50),
|
||||
.bone_pose_active = RGBA(0x8cffff50),
|
||||
.cframe = RGBA(0x60c040ff),
|
||||
.time_keyframe = RGBA(0xddd700ff),
|
||||
.time_gp_keyframe = RGBA(0xb5e61dff),
|
||||
.freestyle_edge_mark = RGBA(0x7fff7fff),
|
||||
.freestyle_face_mark = RGBA(0x7fff7f33),
|
||||
.nurb_uline = RGBA(0x909000ff),
|
||||
.nurb_vline = RGBA(0x803060ff),
|
||||
.act_spline = RGBA(0xdb2512ff),
|
||||
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
||||
.nurb_sel_vline = RGBA(0xf090a0ff),
|
||||
.lastsel_point = RGBA(0xffffffff),
|
||||
.handle_free = RGBA(0x000000ff),
|
||||
.handle_auto = RGBA(0x909000ff),
|
||||
.handle_vect = RGBA(0x409030ff),
|
||||
.handle_align = RGBA(0x803060ff),
|
||||
.handle_sel_free = RGBA(0x000000ff),
|
||||
.handle_sel_auto = RGBA(0xf0ff40ff),
|
||||
.handle_sel_vect = RGBA(0x40c030ff),
|
||||
.handle_sel_align = RGBA(0xf090a0ff),
|
||||
.vertex_size = 3,
|
||||
.outline_width = 1,
|
||||
.facedot_size = 4,
|
||||
.editmesh_active = RGBA(0xffffff80),
|
||||
.clipping_border_3d = RGBA(0x313131ff),
|
||||
.bundle_solid = RGBA(0xc8c8c8ff),
|
||||
.camera_path = RGBA(0x000000ff),
|
||||
.gp_vertex_size = 3,
|
||||
.gp_vertex = RGBA(0x000000ff),
|
||||
.gp_vertex_select = RGBA(0xff8500ff),
|
||||
.skin_root = RGBA(0xb44d4dff),
|
||||
.paint_curve_pivot = RGBA(0xff7f7f7f),
|
||||
.paint_curve_handle = RGBA(0x7fff7f7f),
|
||||
},
|
||||
.tarm = {
|
||||
{
|
||||
.solid = RGBA(0x9a0000ff),
|
||||
.select = RGBA(0xbd1111ff),
|
||||
.active = RGBA(0xf70a0aff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0xf74018ff),
|
||||
.select = RGBA(0xf66913ff),
|
||||
.active = RGBA(0xfa9900ff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x1e9109ff),
|
||||
.select = RGBA(0x59b70bff),
|
||||
.active = RGBA(0x83ef1dff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x0a3694ff),
|
||||
.select = RGBA(0x3667dfff),
|
||||
.active = RGBA(0x5ec1efff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0xa9294eff),
|
||||
.select = RGBA(0xc1416aff),
|
||||
.active = RGBA(0xf05d91ff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x430c78ff),
|
||||
.select = RGBA(0x543aa3ff),
|
||||
.active = RGBA(0x8764d5ff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x24785aff),
|
||||
.select = RGBA(0x3c9579ff),
|
||||
.active = RGBA(0x6fb6abff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x4b707cff),
|
||||
.select = RGBA(0x6a8691ff),
|
||||
.active = RGBA(0x9bc2cdff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0xf4c90cff),
|
||||
.select = RGBA(0xeec236ff),
|
||||
.active = RGBA(0xf3ff00ff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x1e2024ff),
|
||||
.select = RGBA(0x484c56ff),
|
||||
.active = RGBA(0xffffffff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x6f2f6aff),
|
||||
.select = RGBA(0x9845beff),
|
||||
.active = RGBA(0xd330d6ff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x6c8e22ff),
|
||||
.select = RGBA(0x7fb022ff),
|
||||
.active = RGBA(0xbbef5bff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x8d8d8dff),
|
||||
.select = RGBA(0xb0b0b0ff),
|
||||
.active = RGBA(0xdededeff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x834326ff),
|
||||
.select = RGBA(0x8b5811ff),
|
||||
.active = RGBA(0xbd6a11ff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x08310eff),
|
||||
.select = RGBA(0x1c430bff),
|
||||
.active = RGBA(0x34622bff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x000000ff),
|
||||
.select = RGBA(0x000000ff),
|
||||
.active = RGBA(0x000000ff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x000000ff),
|
||||
.select = RGBA(0x000000ff),
|
||||
.active = RGBA(0x000000ff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x000000ff),
|
||||
.select = RGBA(0x000000ff),
|
||||
.active = RGBA(0x000000ff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x000000ff),
|
||||
.select = RGBA(0x000000ff),
|
||||
.active = RGBA(0x000000ff),
|
||||
},
|
||||
{
|
||||
.solid = RGBA(0x000000ff),
|
||||
.select = RGBA(0x000000ff),
|
||||
.active = RGBA(0x000000ff),
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -28,7 +28,7 @@
|
||||
* and keep comment above the defines.
|
||||
* Use STRINGIFY() rather than defining with quotes */
|
||||
#define BLENDER_VERSION 280
|
||||
#define BLENDER_SUBVERSION 19
|
||||
#define BLENDER_SUBVERSION 20
|
||||
/* Several breakages with 280, e.g. collections vs layers */
|
||||
#define BLENDER_MINVERSION 280
|
||||
#define BLENDER_MINSUBVERSION 0
|
||||
|
||||
@@ -163,6 +163,9 @@ struct BlendThumbnail *BLO_thumbnail_from_file(const char *filepath);
|
||||
|
||||
struct Main *BLO_main_from_memfile(struct MemFile *memfile, struct Main *bmain, struct Scene **r_scene);
|
||||
|
||||
/* datafiles (generated theme) */
|
||||
extern const struct bTheme U_theme_default;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -47,6 +47,7 @@ set(INC_SYS
|
||||
)
|
||||
|
||||
set(SRC
|
||||
${CMAKE_SOURCE_DIR}/release/datafiles/userdef/userdef_default_theme.c
|
||||
intern/blend_validate.c
|
||||
intern/readblenentry.c
|
||||
intern/readfile.c
|
||||
|
||||
@@ -94,6 +94,13 @@ void BLO_update_defaults_userpref_blend(void)
|
||||
#else
|
||||
U.flag &= ~USER_SCRIPT_AUTOEXEC_DISABLE;
|
||||
#endif
|
||||
|
||||
/* Ignore the theme saved in the blend file,
|
||||
* instead use the theme from 'userdef_default_theme.c' */
|
||||
{
|
||||
bTheme *theme = U.themes.first;
|
||||
memcpy(theme, &U_theme_default, sizeof(bTheme));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -765,9 +765,6 @@ void ui_draw_widget_back(
|
||||
void ui_draw_tooltip_background(uiStyle *UNUSED(style), uiBlock *block, rcti *rect);
|
||||
|
||||
extern void ui_draw_but(const struct bContext *C, ARegion *ar, struct uiStyle *style, uiBut *but, rcti *rect);
|
||||
/* theme color init */
|
||||
struct ThemeUI;
|
||||
void ui_widget_color_init(struct ThemeUI *tui);
|
||||
|
||||
void ui_draw_menu_item(struct uiFontStyle *fstyle, rcti *rect, const char *name, int iconid, int state, bool use_sep);
|
||||
void ui_draw_preview_item(struct uiFontStyle *fstyle, rcti *rect, const char *name, int iconid, int state);
|
||||
|
||||
@@ -2116,370 +2116,6 @@ static void widget_draw_text_icon(uiFontStyle *fstyle, uiWidgetColors *wcol, uiB
|
||||
|
||||
/* *********************** widget types ************************************* */
|
||||
|
||||
static struct uiWidgetStateColors wcol_state_colors = {
|
||||
{115, 190, 76, 255},
|
||||
{90, 166, 51, 255},
|
||||
{240, 235, 100, 255},
|
||||
{215, 211, 75, 255},
|
||||
{180, 0, 255, 255},
|
||||
{153, 0, 230, 255},
|
||||
{74, 137, 137, 255},
|
||||
{49, 112, 112, 255},
|
||||
0.5f, 0.0f
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_num = {
|
||||
{25, 25, 25, 255},
|
||||
{180, 180, 180, 255},
|
||||
{153, 153, 153, 255},
|
||||
{90, 90, 90, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
1,
|
||||
-20, 0,
|
||||
0,
|
||||
0.5f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_numslider = {
|
||||
{25, 25, 25, 255},
|
||||
{180, 180, 180, 255},
|
||||
{153, 153, 153, 255},
|
||||
{128, 128, 128, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
1,
|
||||
-20, 0,
|
||||
0,
|
||||
0.5f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_text = {
|
||||
{25, 25, 25, 255},
|
||||
{153, 153, 153, 255},
|
||||
{153, 153, 153, 255},
|
||||
{90, 90, 90, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
1,
|
||||
0, 25,
|
||||
0,
|
||||
0.2f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_option = {
|
||||
{0, 0, 0, 255},
|
||||
{70, 70, 70, 255},
|
||||
{70, 70, 70, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
1,
|
||||
15, -15,
|
||||
0,
|
||||
0.3333333f,
|
||||
};
|
||||
|
||||
/* button that shows popup */
|
||||
static struct uiWidgetColors wcol_menu = {
|
||||
{0, 0, 0, 255},
|
||||
{70, 70, 70, 255},
|
||||
{70, 70, 70, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
{255, 255, 255, 255},
|
||||
{204, 204, 204, 255},
|
||||
|
||||
1,
|
||||
15, -15,
|
||||
0,
|
||||
0.2f,
|
||||
};
|
||||
|
||||
/* button that starts pulldown */
|
||||
static struct uiWidgetColors wcol_pulldown = {
|
||||
{0, 0, 0, 255},
|
||||
{63, 63, 63, 255},
|
||||
{86, 128, 194, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{0, 0, 0, 255},
|
||||
|
||||
0,
|
||||
25, -20,
|
||||
0,
|
||||
0.2f,
|
||||
};
|
||||
|
||||
/* button inside menu */
|
||||
static struct uiWidgetColors wcol_menu_item = {
|
||||
{0, 0, 0, 255},
|
||||
{0, 0, 0, 0},
|
||||
{86, 128, 194, 255},
|
||||
{172, 172, 172, 128},
|
||||
|
||||
{255, 255, 255, 255},
|
||||
{0, 0, 0, 255},
|
||||
|
||||
1,
|
||||
38, 0,
|
||||
0,
|
||||
0.2f,
|
||||
};
|
||||
|
||||
/* backdrop menu + title text color */
|
||||
static struct uiWidgetColors wcol_menu_back = {
|
||||
{0, 0, 0, 255},
|
||||
{25, 25, 25, 230},
|
||||
{45, 45, 45, 230},
|
||||
{100, 100, 100, 255},
|
||||
|
||||
{160, 160, 160, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
0,
|
||||
25, -20,
|
||||
0,
|
||||
0.25f,
|
||||
};
|
||||
|
||||
/* pie menus */
|
||||
static struct uiWidgetColors wcol_pie_menu = {
|
||||
{10, 10, 10, 200},
|
||||
{25, 25, 25, 230},
|
||||
{140, 140, 140, 255},
|
||||
{45, 45, 45, 230},
|
||||
|
||||
{160, 160, 160, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
1,
|
||||
10, -10,
|
||||
0,
|
||||
0.5f,
|
||||
};
|
||||
|
||||
|
||||
/* tooltip color */
|
||||
static struct uiWidgetColors wcol_tooltip = {
|
||||
{0, 0, 0, 255},
|
||||
{25, 25, 25, 230},
|
||||
{45, 45, 45, 230},
|
||||
{100, 100, 100, 255},
|
||||
|
||||
{255, 255, 255, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
0,
|
||||
25, -20,
|
||||
0,
|
||||
0.25f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_radio = {
|
||||
{0, 0, 0, 255},
|
||||
{70, 70, 70, 255},
|
||||
{86, 128, 194, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
{255, 255, 255, 255},
|
||||
{0, 0, 0, 255},
|
||||
|
||||
1,
|
||||
15, -15,
|
||||
0,
|
||||
0.2f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_regular = {
|
||||
{25, 25, 25, 255},
|
||||
{153, 153, 153, 255},
|
||||
{100, 100, 100, 255},
|
||||
{25, 25, 25, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
0,
|
||||
0, 0,
|
||||
0,
|
||||
0.25f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_tool = {
|
||||
{25, 25, 25, 255},
|
||||
{153, 153, 153, 255},
|
||||
{100, 100, 100, 255},
|
||||
{25, 25, 25, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
1,
|
||||
15, -15,
|
||||
0,
|
||||
0.2f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_toolbar_item = {
|
||||
.outline = {0x19, 0x19, 0x19, 0xff},
|
||||
.inner = {0x46, 0x46, 0x46, 0xff},
|
||||
.inner_sel = {0xcc, 0xcc, 0xcc, 0xff},
|
||||
.item = {0x0, 0x0, 0x0, 0xff},
|
||||
|
||||
.text = {0xff, 0xff, 0xff, 0xff},
|
||||
.text_sel = {0x33, 0x33, 0x33, 0xff},
|
||||
|
||||
.shaded = 0,
|
||||
.shadetop = 0,
|
||||
.shadedown = 0,
|
||||
.alpha_check = 0,
|
||||
.roundness = 0.3f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_box = {
|
||||
{25, 25, 25, 255},
|
||||
{128, 128, 128, 255},
|
||||
{100, 100, 100, 255},
|
||||
{25, 25, 25, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
0,
|
||||
0, 0,
|
||||
0,
|
||||
0.2f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_toggle = {
|
||||
{25, 25, 25, 255},
|
||||
{153, 153, 153, 255},
|
||||
{100, 100, 100, 255},
|
||||
{25, 25, 25, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
0,
|
||||
0, 0,
|
||||
0,
|
||||
0.25f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_scroll = {
|
||||
{50, 50, 50, 180},
|
||||
{80, 80, 80, 180},
|
||||
{100, 100, 100, 180},
|
||||
{128, 128, 128, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
1,
|
||||
5, -5,
|
||||
0,
|
||||
0.5f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_progress = {
|
||||
{0, 0, 0, 255},
|
||||
{190, 190, 190, 255},
|
||||
{100, 100, 100, 180},
|
||||
{128, 128, 128, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
0,
|
||||
0, 0,
|
||||
0,
|
||||
0.25f,
|
||||
};
|
||||
|
||||
static struct uiWidgetColors wcol_list_item = {
|
||||
{0, 0, 0, 255},
|
||||
{0, 0, 0, 0},
|
||||
{86, 128, 194, 255},
|
||||
{90, 90, 90, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
0,
|
||||
0, 0,
|
||||
0,
|
||||
0.2f,
|
||||
};
|
||||
|
||||
struct uiWidgetColors wcol_tab = {
|
||||
{60, 60, 60, 255},
|
||||
{83, 83, 83, 255},
|
||||
{114, 114, 114, 255},
|
||||
{90, 90, 90, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{0, 0, 0, 255},
|
||||
|
||||
0,
|
||||
0, 0,
|
||||
0,
|
||||
0.25f,
|
||||
};
|
||||
|
||||
/* free wcol struct to play with */
|
||||
static struct uiWidgetColors wcol_tmp = {
|
||||
{0, 0, 0, 255},
|
||||
{128, 128, 128, 255},
|
||||
{100, 100, 100, 255},
|
||||
{25, 25, 25, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
0,
|
||||
0, 0,
|
||||
0,
|
||||
0.25f,
|
||||
};
|
||||
|
||||
|
||||
/* called for theme init (new theme) and versions */
|
||||
void ui_widget_color_init(ThemeUI *tui)
|
||||
{
|
||||
tui->wcol_regular = wcol_regular;
|
||||
tui->wcol_tool = wcol_tool;
|
||||
tui->wcol_toolbar_item = wcol_toolbar_item;
|
||||
tui->wcol_text = wcol_text;
|
||||
tui->wcol_radio = wcol_radio;
|
||||
tui->wcol_tab = wcol_tab;
|
||||
tui->wcol_option = wcol_option;
|
||||
tui->wcol_toggle = wcol_toggle;
|
||||
tui->wcol_num = wcol_num;
|
||||
tui->wcol_numslider = wcol_numslider;
|
||||
tui->wcol_menu = wcol_menu;
|
||||
tui->wcol_pulldown = wcol_pulldown;
|
||||
tui->wcol_menu_back = wcol_menu_back;
|
||||
tui->wcol_pie_menu = wcol_pie_menu;
|
||||
tui->wcol_tooltip = wcol_tooltip;
|
||||
tui->wcol_menu_item = wcol_menu_item;
|
||||
tui->wcol_box = wcol_box;
|
||||
tui->wcol_scroll = wcol_scroll;
|
||||
tui->wcol_list_item = wcol_list_item;
|
||||
tui->wcol_progress = wcol_progress;
|
||||
|
||||
tui->wcol_state = wcol_state_colors;
|
||||
}
|
||||
|
||||
/* ************ button callbacks, state ***************** */
|
||||
|
||||
static void widget_state_blend(char cp[3], const char cpstate[3], const float fac)
|
||||
@@ -3203,13 +2839,16 @@ static void ui_draw_but_HSV_v(uiBut *but, const rcti *rect)
|
||||
round_box_edges(&wtb, UI_CNR_ALL, rect, rad);
|
||||
|
||||
/* setup temp colors */
|
||||
wcol_tmp.outline[0] = wcol_tmp.outline[1] = wcol_tmp.outline[2] = 0;
|
||||
wcol_tmp.inner[0] = wcol_tmp.inner[1] = wcol_tmp.inner[2] = 128;
|
||||
wcol_tmp.shadetop = 127;
|
||||
wcol_tmp.shadedown = -128;
|
||||
wcol_tmp.shaded = 1;
|
||||
|
||||
widgetbase_draw(&wtb, &wcol_tmp);
|
||||
widgetbase_draw(
|
||||
&wtb,
|
||||
&((uiWidgetColors){
|
||||
.outline = {0, 0, 0, 255},
|
||||
.inner = {128, 128, 128, 255},
|
||||
.shadetop = 127,
|
||||
.shadedown = -128,
|
||||
.shaded = 1,
|
||||
})
|
||||
);
|
||||
|
||||
/* We are drawing on top of widget bases. Flush cache. */
|
||||
glEnable(GL_BLEND);
|
||||
|
||||
@@ -63,6 +63,9 @@
|
||||
|
||||
#include "interface_intern.h"
|
||||
|
||||
|
||||
extern const bTheme U_theme_default;
|
||||
|
||||
/* global for themes */
|
||||
typedef void (*VectorDrawFunc)(int x, int y, int w, int h, float alpha);
|
||||
|
||||
@@ -734,146 +737,6 @@ const unsigned char *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colo
|
||||
return (const unsigned char *)cp;
|
||||
}
|
||||
|
||||
/* use this call to init new bone color sets in Theme */
|
||||
static void ui_theme_init_boneColorSets(bTheme *btheme)
|
||||
{
|
||||
int i;
|
||||
|
||||
/* define default color sets - currently we only define 15 of these, though that should be ample */
|
||||
/* set 1 */
|
||||
rgba_char_args_set(btheme->tarm[0].solid, 0x9a, 0x00, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tarm[0].select, 0xbd, 0x11, 0x11, 255);
|
||||
rgba_char_args_set(btheme->tarm[0].active, 0xf7, 0x0a, 0x0a, 255);
|
||||
/* set 2 */
|
||||
rgba_char_args_set(btheme->tarm[1].solid, 0xf7, 0x40, 0x18, 255);
|
||||
rgba_char_args_set(btheme->tarm[1].select, 0xf6, 0x69, 0x13, 255);
|
||||
rgba_char_args_set(btheme->tarm[1].active, 0xfa, 0x99, 0x00, 255);
|
||||
/* set 3 */
|
||||
rgba_char_args_set(btheme->tarm[2].solid, 0x1e, 0x91, 0x09, 255);
|
||||
rgba_char_args_set(btheme->tarm[2].select, 0x59, 0xb7, 0x0b, 255);
|
||||
rgba_char_args_set(btheme->tarm[2].active, 0x83, 0xef, 0x1d, 255);
|
||||
/* set 4 */
|
||||
rgba_char_args_set(btheme->tarm[3].solid, 0x0a, 0x36, 0x94, 255);
|
||||
rgba_char_args_set(btheme->tarm[3].select, 0x36, 0x67, 0xdf, 255);
|
||||
rgba_char_args_set(btheme->tarm[3].active, 0x5e, 0xc1, 0xef, 255);
|
||||
/* set 5 */
|
||||
rgba_char_args_set(btheme->tarm[4].solid, 0xa9, 0x29, 0x4e, 255);
|
||||
rgba_char_args_set(btheme->tarm[4].select, 0xc1, 0x41, 0x6a, 255);
|
||||
rgba_char_args_set(btheme->tarm[4].active, 0xf0, 0x5d, 0x91, 255);
|
||||
/* set 6 */
|
||||
rgba_char_args_set(btheme->tarm[5].solid, 0x43, 0x0c, 0x78, 255);
|
||||
rgba_char_args_set(btheme->tarm[5].select, 0x54, 0x3a, 0xa3, 255);
|
||||
rgba_char_args_set(btheme->tarm[5].active, 0x87, 0x64, 0xd5, 255);
|
||||
/* set 7 */
|
||||
rgba_char_args_set(btheme->tarm[6].solid, 0x24, 0x78, 0x5a, 255);
|
||||
rgba_char_args_set(btheme->tarm[6].select, 0x3c, 0x95, 0x79, 255);
|
||||
rgba_char_args_set(btheme->tarm[6].active, 0x6f, 0xb6, 0xab, 255);
|
||||
/* set 8 */
|
||||
rgba_char_args_set(btheme->tarm[7].solid, 0x4b, 0x70, 0x7c, 255);
|
||||
rgba_char_args_set(btheme->tarm[7].select, 0x6a, 0x86, 0x91, 255);
|
||||
rgba_char_args_set(btheme->tarm[7].active, 0x9b, 0xc2, 0xcd, 255);
|
||||
/* set 9 */
|
||||
rgba_char_args_set(btheme->tarm[8].solid, 0xf4, 0xc9, 0x0c, 255);
|
||||
rgba_char_args_set(btheme->tarm[8].select, 0xee, 0xc2, 0x36, 255);
|
||||
rgba_char_args_set(btheme->tarm[8].active, 0xf3, 0xff, 0x00, 255);
|
||||
/* set 10 */
|
||||
rgba_char_args_set(btheme->tarm[9].solid, 0x1e, 0x20, 0x24, 255);
|
||||
rgba_char_args_set(btheme->tarm[9].select, 0x48, 0x4c, 0x56, 255);
|
||||
rgba_char_args_set(btheme->tarm[9].active, 0xff, 0xff, 0xff, 255);
|
||||
/* set 11 */
|
||||
rgba_char_args_set(btheme->tarm[10].solid, 0x6f, 0x2f, 0x6a, 255);
|
||||
rgba_char_args_set(btheme->tarm[10].select, 0x98, 0x45, 0xbe, 255);
|
||||
rgba_char_args_set(btheme->tarm[10].active, 0xd3, 0x30, 0xd6, 255);
|
||||
/* set 12 */
|
||||
rgba_char_args_set(btheme->tarm[11].solid, 0x6c, 0x8e, 0x22, 255);
|
||||
rgba_char_args_set(btheme->tarm[11].select, 0x7f, 0xb0, 0x22, 255);
|
||||
rgba_char_args_set(btheme->tarm[11].active, 0xbb, 0xef, 0x5b, 255);
|
||||
/* set 13 */
|
||||
rgba_char_args_set(btheme->tarm[12].solid, 0x8d, 0x8d, 0x8d, 255);
|
||||
rgba_char_args_set(btheme->tarm[12].select, 0xb0, 0xb0, 0xb0, 255);
|
||||
rgba_char_args_set(btheme->tarm[12].active, 0xde, 0xde, 0xde, 255);
|
||||
/* set 14 */
|
||||
rgba_char_args_set(btheme->tarm[13].solid, 0x83, 0x43, 0x26, 255);
|
||||
rgba_char_args_set(btheme->tarm[13].select, 0x8b, 0x58, 0x11, 255);
|
||||
rgba_char_args_set(btheme->tarm[13].active, 0xbd, 0x6a, 0x11, 255);
|
||||
/* set 15 */
|
||||
rgba_char_args_set(btheme->tarm[14].solid, 0x08, 0x31, 0x0e, 255);
|
||||
rgba_char_args_set(btheme->tarm[14].select, 0x1c, 0x43, 0x0b, 255);
|
||||
rgba_char_args_set(btheme->tarm[14].active, 0x34, 0x62, 0x2b, 255);
|
||||
|
||||
/* reset flags too */
|
||||
for (i = 0; i < 20; i++)
|
||||
btheme->tarm[i].flag = 0;
|
||||
}
|
||||
|
||||
/* use this call to init new variables in themespace, if they're same for all */
|
||||
static void ui_theme_init_new_do(ThemeSpace *ts)
|
||||
{
|
||||
rgba_char_args_set(ts->header_text, 0, 0, 0, 255);
|
||||
rgba_char_args_set(ts->header_title, 0, 0, 0, 255);
|
||||
rgba_char_args_set(ts->header_text_hi, 255, 255, 255, 255);
|
||||
|
||||
#if 0
|
||||
rgba_char_args_set(ts->panel_text, 0, 0, 0, 255);
|
||||
rgba_char_args_set(ts->panel_title, 0, 0, 0, 255);
|
||||
rgba_char_args_set(ts->panel_text_hi, 255, 255, 255, 255);
|
||||
#endif
|
||||
|
||||
ts->panelcolors.show_back = false;
|
||||
ts->panelcolors.show_header = false;
|
||||
rgba_char_args_set(ts->panelcolors.back, 114, 114, 114, 128);
|
||||
rgba_char_args_set(ts->panelcolors.header, 0, 0, 0, 25);
|
||||
rgba_char_args_set(ts->panelcolors.sub_back, 0, 0, 0, 25);
|
||||
|
||||
rgba_char_args_set(ts->button, 145, 145, 145, 245);
|
||||
rgba_char_args_set(ts->button_title, 0, 0, 0, 255);
|
||||
rgba_char_args_set(ts->button_text, 0, 0, 0, 255);
|
||||
rgba_char_args_set(ts->button_text_hi, 255, 255, 255, 255);
|
||||
|
||||
rgba_char_args_set(ts->list, 165, 165, 165, 255);
|
||||
rgba_char_args_set(ts->list_title, 0, 0, 0, 255);
|
||||
rgba_char_args_set(ts->list_text, 0, 0, 0, 255);
|
||||
rgba_char_args_set(ts->list_text_hi, 255, 255, 255, 255);
|
||||
|
||||
rgba_char_args_set(ts->tab_active, 114, 114, 114, 255);
|
||||
rgba_char_args_set(ts->tab_inactive, 83, 83, 83, 255);
|
||||
rgba_char_args_set(ts->tab_back, 64, 64, 64, 255);
|
||||
rgba_char_args_set(ts->tab_outline, 60, 60, 60, 255);
|
||||
}
|
||||
|
||||
static void ui_theme_init_new(bTheme *btheme)
|
||||
{
|
||||
ThemeSpace *ts;
|
||||
|
||||
for (ts = UI_THEMESPACE_START(btheme); ts != UI_THEMESPACE_END(btheme); ts++) {
|
||||
ui_theme_init_new_do(ts);
|
||||
}
|
||||
}
|
||||
|
||||
static void ui_theme_space_init_handles_color(ThemeSpace *theme_space)
|
||||
{
|
||||
rgba_char_args_set(theme_space->handle_free, 0, 0, 0, 255);
|
||||
rgba_char_args_set(theme_space->handle_auto, 0x90, 0x90, 0x00, 255);
|
||||
rgba_char_args_set(theme_space->handle_vect, 0x40, 0x90, 0x30, 255);
|
||||
rgba_char_args_set(theme_space->handle_align, 0x80, 0x30, 0x60, 255);
|
||||
rgba_char_args_set(theme_space->handle_sel_free, 0, 0, 0, 255);
|
||||
rgba_char_args_set(theme_space->handle_sel_auto, 0xf0, 0xff, 0x40, 255);
|
||||
rgba_char_args_set(theme_space->handle_sel_vect, 0x40, 0xc0, 0x30, 255);
|
||||
rgba_char_args_set(theme_space->handle_sel_align, 0xf0, 0x90, 0xa0, 255);
|
||||
rgba_char_args_set(theme_space->handle_vertex, 0x00, 0x00, 0x00, 0xff);
|
||||
rgba_char_args_set(theme_space->handle_vertex_select, 0xff, 0xff, 0, 0xff);
|
||||
rgba_char_args_set(theme_space->act_spline, 0xdb, 0x25, 0x12, 255);
|
||||
}
|
||||
|
||||
static void ui_theme_space_init_manipulator_colors(bTheme *btheme)
|
||||
{
|
||||
rgba_char_args_set(btheme->tui.manipulator_hi, 255, 255, 255, 255);
|
||||
rgba_char_args_set(btheme->tui.manipulator_primary, 222, 255, 13, 255);
|
||||
rgba_char_args_set(btheme->tui.manipulator_secondary, 0, 255, 255, 255);
|
||||
rgba_char_args_set(btheme->tui.manipulator_a, 23, 127, 23, 255);
|
||||
rgba_char_args_set(btheme->tui.manipulator_b, 127, 23, 23, 255);
|
||||
}
|
||||
|
||||
/**
|
||||
* initialize default theme
|
||||
* \note: when you add new colors, created & saved themes need initialized
|
||||
@@ -881,381 +744,17 @@ static void ui_theme_space_init_manipulator_colors(bTheme *btheme)
|
||||
*/
|
||||
void ui_theme_init_default(void)
|
||||
{
|
||||
bTheme *btheme;
|
||||
|
||||
/* we search for the theme with name Default */
|
||||
btheme = BLI_findstring(&U.themes, "Default", offsetof(bTheme, name));
|
||||
|
||||
bTheme *btheme = BLI_findstring(&U.themes, "Default", offsetof(bTheme, name));
|
||||
if (btheme == NULL) {
|
||||
btheme = MEM_callocN(sizeof(bTheme), "theme");
|
||||
btheme = MEM_callocN(sizeof(bTheme), __func__);
|
||||
BLI_addtail(&U.themes, btheme);
|
||||
strcpy(btheme->name, "Default");
|
||||
}
|
||||
|
||||
UI_SetTheme(0, 0); /* make sure the global used in this file is set */
|
||||
|
||||
/* UI buttons */
|
||||
ui_widget_color_init(&btheme->tui);
|
||||
|
||||
btheme->tui.iconfile[0] = 0;
|
||||
rgba_char_args_set(btheme->tui.wcol_tooltip.text, 255, 255, 255, 255);
|
||||
rgba_char_args_set_fl(btheme->tui.widget_emboss, 1.0f, 1.0f, 1.0f, 0.02f);
|
||||
rgba_char_args_set_fl(btheme->tui.editor_outline, 0.25f, 0.25f, 0.25f, 1.0f);
|
||||
|
||||
rgba_char_args_set(btheme->tui.xaxis, 220, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tui.yaxis, 0, 220, 0, 255);
|
||||
rgba_char_args_set(btheme->tui.zaxis, 0, 0, 220, 255);
|
||||
|
||||
btheme->tui.menu_shadow_fac = 0.5f;
|
||||
btheme->tui.menu_shadow_width = 12;
|
||||
|
||||
/* Bone Color Sets */
|
||||
ui_theme_init_boneColorSets(btheme);
|
||||
|
||||
/* common (new) variables */
|
||||
ui_theme_init_new(btheme);
|
||||
|
||||
/* Manipulator. */
|
||||
ui_theme_space_init_manipulator_colors(btheme);
|
||||
|
||||
/* space view3d */
|
||||
rgba_char_args_set_fl(btheme->tv3d.back, 0.225, 0.225, 0.225, 1.0);
|
||||
rgba_char_args_set(btheme->tv3d.text, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.text_hi, 255, 255, 255, 255);
|
||||
|
||||
rgba_char_args_set_fl(btheme->tv3d.header, 0.45, 0.45, 0.45, 1.0);
|
||||
rgba_char_args_set_fl(btheme->tv3d.button, 0.45, 0.45, 0.45, 0.5);
|
||||
// rgba_char_args_set(btheme->tv3d.panel, 165, 165, 165, 127);
|
||||
|
||||
rgba_char_args_set(btheme->tv3d.shade1, 160, 160, 160, 100);
|
||||
rgba_char_args_set(btheme->tv3d.shade2, 0x7f, 0x70, 0x70, 100);
|
||||
|
||||
rgba_char_args_set_fl(btheme->tv3d.grid, 0.251, 0.251, 0.251, 1.0);
|
||||
rgba_char_args_set(btheme->tv3d.view_overlay, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.wire, 0x0, 0x0, 0x0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.wire_edit, 0x0, 0x0, 0x0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.lamp, 0, 0, 0, 40);
|
||||
rgba_char_args_set(btheme->tv3d.speaker, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.camera, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.empty, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.select, 241, 88, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.active, 255, 170, 64, 255);
|
||||
rgba_char_args_set(btheme->tv3d.group, 8, 48, 8, 255);
|
||||
rgba_char_args_set(btheme->tv3d.group_active, 85, 187, 85, 255);
|
||||
rgba_char_args_set(btheme->tv3d.transform, 0xff, 0xff, 0xff, 255);
|
||||
rgba_char_args_set(btheme->tv3d.vertex, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.vertex_select, 255, 133, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.vertex_bevel, 0, 165, 255, 255);
|
||||
rgba_char_args_set(btheme->tv3d.vertex_unreferenced, 0, 0, 0, 255);
|
||||
btheme->tv3d.vertex_size = 3;
|
||||
btheme->tv3d.outline_width = 1;
|
||||
rgba_char_args_set(btheme->tv3d.edge, 0x0, 0x0, 0x0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.edge_select, 255, 160, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.edge_seam, 219, 37, 18, 255);
|
||||
rgba_char_args_set(btheme->tv3d.edge_bevel, 0, 165, 255, 255);
|
||||
rgba_char_args_set(btheme->tv3d.edge_facesel, 75, 75, 75, 255);
|
||||
rgba_char_args_set(btheme->tv3d.face, 0, 0, 0, 18);
|
||||
rgba_char_args_set(btheme->tv3d.face_select, 255, 133, 0, 60);
|
||||
rgba_char_args_set(btheme->tv3d.normal, 0x22, 0xDD, 0xDD, 255);
|
||||
rgba_char_args_set(btheme->tv3d.vertex_normal, 0x23, 0x61, 0xDD, 255);
|
||||
rgba_char_args_set(btheme->tv3d.loop_normal, 0xDD, 0x23, 0xDD, 255);
|
||||
rgba_char_args_set(btheme->tv3d.face_dot, 255, 133, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.editmesh_active, 255, 255, 255, 128);
|
||||
rgba_char_args_set_fl(btheme->tv3d.edge_crease, 0.8, 0, 0.6, 1.0);
|
||||
rgba_char_args_set(btheme->tv3d.edge_sharp, 0, 255, 255, 255);
|
||||
rgba_char_args_set(btheme->tv3d.header_text, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.header_text_hi, 255, 255, 255, 255);
|
||||
rgba_char_args_set(btheme->tv3d.button_text, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.button_text_hi, 255, 255, 255, 255);
|
||||
rgba_char_args_set(btheme->tv3d.button_title, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.title, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.freestyle_edge_mark, 0x7f, 0xff, 0x7f, 255);
|
||||
rgba_char_args_set(btheme->tv3d.freestyle_face_mark, 0x7f, 0xff, 0x7f, 51);
|
||||
rgba_char_args_set_fl(btheme->tv3d.paint_curve_handle, 0.5f, 1.0f, 0.5f, 0.5f);
|
||||
rgba_char_args_set_fl(btheme->tv3d.paint_curve_pivot, 1.0f, 0.5f, 0.5f, 0.5f);
|
||||
rgba_char_args_set(btheme->tv3d.gp_vertex, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.gp_vertex_select, 255, 133, 0, 255);
|
||||
btheme->tv3d.gp_vertex_size = 3;
|
||||
|
||||
btheme->tv3d.facedot_size = 4;
|
||||
|
||||
rgba_char_args_set(btheme->tv3d.extra_edge_len, 32, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.extra_edge_angle, 32, 32, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.extra_face_area, 0, 32, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.extra_face_angle, 0, 0, 128, 255);
|
||||
|
||||
rgba_char_args_set(btheme->tv3d.cframe, 0x60, 0xc0, 0x40, 255);
|
||||
|
||||
rgba_char_args_set(btheme->tv3d.nurb_uline, 0x90, 0x90, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tv3d.nurb_vline, 0x80, 0x30, 0x60, 255);
|
||||
rgba_char_args_set(btheme->tv3d.nurb_sel_uline, 0xf0, 0xff, 0x40, 255);
|
||||
rgba_char_args_set(btheme->tv3d.nurb_sel_vline, 0xf0, 0x90, 0xa0, 255);
|
||||
|
||||
ui_theme_space_init_handles_color(&btheme->tv3d);
|
||||
|
||||
rgba_char_args_set(btheme->tv3d.act_spline, 0xdb, 0x25, 0x12, 255);
|
||||
rgba_char_args_set(btheme->tv3d.lastsel_point, 0xff, 0xff, 0xff, 255);
|
||||
|
||||
rgba_char_args_set(btheme->tv3d.bone_solid, 200, 200, 200, 255);
|
||||
/* alpha 80 is not meant editable, used for wire+action draw */
|
||||
rgba_char_args_set(btheme->tv3d.bone_pose, 80, 200, 255, 80);
|
||||
rgba_char_args_set(btheme->tv3d.bone_pose_active, 140, 255, 255, 80);
|
||||
|
||||
rgba_char_args_set(btheme->tv3d.bundle_solid, 200, 200, 200, 255);
|
||||
rgba_char_args_set(btheme->tv3d.camera_path, 0x00, 0x00, 0x00, 255);
|
||||
|
||||
rgba_char_args_set(btheme->tv3d.skin_root, 180, 77, 77, 255);
|
||||
rgba_char_args_set(btheme->tv3d.gradients.gradient, 0, 0, 0, 0);
|
||||
rgba_char_args_set(btheme->tv3d.gradients.high_gradient, 58, 58, 58, 255);
|
||||
btheme->tv3d.gradients.show_grad = false;
|
||||
|
||||
rgba_char_args_set(btheme->tv3d.clipping_border_3d, 50, 50, 50, 255);
|
||||
|
||||
rgba_char_args_set(btheme->tv3d.time_keyframe, 0xDD, 0xD7, 0x00, 0xFF);
|
||||
rgba_char_args_set(btheme->tv3d.time_gp_keyframe, 0xB5, 0xE6, 0x1D, 0xFF);
|
||||
|
||||
/* space buttons */
|
||||
/* to have something initialized */
|
||||
btheme->tbuts = btheme->tv3d;
|
||||
|
||||
rgba_char_args_set_fl(btheme->tbuts.back, 0.45, 0.45, 0.45, 1.0);
|
||||
// rgba_char_args_set(btheme->tbuts.panel, 0x82, 0x82, 0x82, 255);
|
||||
|
||||
/* graph editor */
|
||||
btheme->tipo = btheme->tv3d;
|
||||
rgba_char_args_set_fl(btheme->tipo.back, 0.42, 0.42, 0.42, 1.0);
|
||||
rgba_char_args_set_fl(btheme->tipo.list, 0.4, 0.4, 0.4, 1.0);
|
||||
rgba_char_args_set(btheme->tipo.grid, 94, 94, 94, 255);
|
||||
// rgba_char_args_set(btheme->tipo.panel, 255, 255, 255, 150);
|
||||
rgba_char_args_set(btheme->tipo.shade1, 150, 150, 150, 100); /* scrollbars */
|
||||
rgba_char_args_set(btheme->tipo.shade2, 0x70, 0x70, 0x70, 100);
|
||||
rgba_char_args_set(btheme->tipo.vertex, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tipo.vertex_select, 255, 133, 0, 255);
|
||||
rgba_char_args_set(btheme->tipo.hilite, 0x60, 0xc0, 0x40, 255);
|
||||
btheme->tipo.vertex_size = 6;
|
||||
|
||||
rgba_char_args_set(btheme->tipo.handle_vertex, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tipo.handle_vertex_select, 255, 133, 0, 255);
|
||||
rgba_char_args_set(btheme->tipo.handle_auto_clamped, 0x99, 0x40, 0x30, 255);
|
||||
rgba_char_args_set(btheme->tipo.handle_sel_auto_clamped, 0xf0, 0xaf, 0x90, 255);
|
||||
btheme->tipo.handle_vertex_size = 5;
|
||||
|
||||
rgba_char_args_set(btheme->tipo.ds_channel, 82, 96, 110, 255);
|
||||
rgba_char_args_set(btheme->tipo.ds_subchannel, 124, 137, 150, 255);
|
||||
rgba_char_args_set(btheme->tipo.group, 79, 101, 73, 255);
|
||||
rgba_char_args_set(btheme->tipo.group_active, 135, 177, 125, 255);
|
||||
|
||||
/* dopesheet */
|
||||
btheme->tact = btheme->tipo;
|
||||
rgba_char_args_set(btheme->tact.strip, 12, 10, 10, 128);
|
||||
rgba_char_args_set(btheme->tact.strip_select, 255, 140, 0, 255);
|
||||
|
||||
rgba_char_args_set(btheme->tact.anim_active, 204, 112, 26, 102);
|
||||
|
||||
rgba_char_args_set(btheme->tact.keytype_keyframe, 232, 232, 232, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_keyframe_select, 255, 190, 50, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_extreme, 232, 179, 204, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_extreme_select, 242, 128, 128, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_breakdown, 179, 219, 232, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_breakdown_select, 84, 191, 237, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_jitter, 148, 229, 117, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_jitter_select, 97, 192, 66, 255);
|
||||
|
||||
rgba_char_args_set(btheme->tact.keyborder, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tact.keyborder_select, 0, 0, 0, 255);
|
||||
|
||||
btheme->tact.keyframe_scale_fac = 1.0f;
|
||||
|
||||
/* space nla */
|
||||
btheme->tnla = btheme->tact;
|
||||
|
||||
rgba_char_args_set(btheme->tnla.anim_active, 204, 112, 26, 102); /* same as for dopesheet; duplicate here for easier reference */
|
||||
rgba_char_args_set(btheme->tnla.anim_non_active, 153, 135, 97, 77);
|
||||
|
||||
rgba_char_args_set(btheme->tnla.nla_tweaking, 77, 243, 26, 77);
|
||||
rgba_char_args_set(btheme->tnla.nla_tweakdupli, 217, 0, 0, 255);
|
||||
|
||||
rgba_char_args_set(btheme->tnla.nla_transition, 28, 38, 48, 255);
|
||||
rgba_char_args_set(btheme->tnla.nla_transition_sel, 46, 117, 219, 255);
|
||||
rgba_char_args_set(btheme->tnla.nla_meta, 51, 38, 66, 255);
|
||||
rgba_char_args_set(btheme->tnla.nla_meta_sel, 105, 33, 150, 255);
|
||||
rgba_char_args_set(btheme->tnla.nla_sound, 43, 61, 61, 255);
|
||||
rgba_char_args_set(btheme->tnla.nla_sound_sel, 31, 122, 122, 255);
|
||||
|
||||
rgba_char_args_set(btheme->tnla.keyborder, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tnla.keyborder_select, 0, 0, 0, 255);
|
||||
|
||||
/* space file */
|
||||
/* to have something initialized */
|
||||
btheme->tfile = btheme->tv3d;
|
||||
rgba_char_args_set_fl(btheme->tfile.back, 0.3, 0.3, 0.3, 1);
|
||||
// rgba_char_args_set_fl(btheme->tfile.panel, 0.3, 0.3, 0.3, 1);
|
||||
rgba_char_args_set_fl(btheme->tfile.list, 0.4, 0.4, 0.4, 1);
|
||||
rgba_char_args_set(btheme->tfile.text, 250, 250, 250, 255);
|
||||
rgba_char_args_set(btheme->tfile.text_hi, 15, 15, 15, 255);
|
||||
// rgba_char_args_set(btheme->tfile.panel, 145, 145, 145, 255); /* bookmark/ui regions */
|
||||
rgba_char_args_set(btheme->tfile.hilite, 255, 140, 25, 255); /* selected files */
|
||||
|
||||
rgba_char_args_set(btheme->tfile.image, 250, 250, 250, 255);
|
||||
rgba_char_args_set(btheme->tfile.movie, 250, 250, 250, 255);
|
||||
rgba_char_args_set(btheme->tfile.scene, 250, 250, 250, 255);
|
||||
|
||||
|
||||
/* space seq */
|
||||
btheme->tseq = btheme->tv3d;
|
||||
rgba_char_args_set(btheme->tseq.back, 116, 116, 116, 255);
|
||||
rgba_char_args_set(btheme->tseq.movie, 81, 105, 135, 255);
|
||||
rgba_char_args_set(btheme->tseq.movieclip, 32, 32, 143, 255);
|
||||
rgba_char_args_set(btheme->tseq.mask, 152, 78, 62, 255);
|
||||
rgba_char_args_set(btheme->tseq.image, 109, 88, 129, 255);
|
||||
rgba_char_args_set(btheme->tseq.scene, 78, 152, 62, 255);
|
||||
rgba_char_args_set(btheme->tseq.audio, 46, 143, 143, 255);
|
||||
rgba_char_args_set(btheme->tseq.effect, 169, 84, 124, 255);
|
||||
rgba_char_args_set(btheme->tseq.transition, 162, 95, 111, 255);
|
||||
rgba_char_args_set(btheme->tseq.meta, 109, 145, 131, 255);
|
||||
rgba_char_args_set(btheme->tseq.text_strip, 162, 151, 0, 255);
|
||||
rgba_char_args_set(btheme->tseq.preview_back, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tseq.grid, 64, 64, 64, 255);
|
||||
|
||||
/* space image */
|
||||
btheme->tima = btheme->tv3d;
|
||||
rgba_char_args_set(btheme->tima.back, 53, 53, 53, 255);
|
||||
rgba_char_args_set(btheme->tima.vertex, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tima.vertex_select, 255, 133, 0, 255);
|
||||
rgba_char_args_set(btheme->tima.wire_edit, 192, 192, 192, 255);
|
||||
rgba_char_args_set(btheme->tima.edge_select, 255, 133, 0, 255);
|
||||
btheme->tima.vertex_size = 3;
|
||||
btheme->tima.facedot_size = 3;
|
||||
rgba_char_args_set(btheme->tima.face, 255, 255, 255, 10);
|
||||
rgba_char_args_set(btheme->tima.face_select, 255, 133, 0, 60);
|
||||
rgba_char_args_set(btheme->tima.editmesh_active, 255, 255, 255, 128);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_back, 0.0, 0.0, 0.0, 0.3);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_face, 0.5, 0.5, 0.0, 0.2);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_edge, 1.0, 0.0, 1.0, 0.2);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_vert, 0.0, 0.0, 1.0, 0.2);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_stitchable, 0.0, 1.0, 0.0, 1.0);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_unstitchable, 1.0, 0.0, 0.0, 1.0);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_active, 0.886, 0.824, 0.765, 0.140);
|
||||
|
||||
rgba_char_args_test_set(btheme->tima.uv_others, 96, 96, 96, 255);
|
||||
rgba_char_args_test_set(btheme->tima.uv_shadow, 112, 112, 112, 255);
|
||||
|
||||
ui_theme_space_init_handles_color(&btheme->tima);
|
||||
btheme->tima.handle_vertex_size = 5;
|
||||
|
||||
/* space text */
|
||||
btheme->text = btheme->tv3d;
|
||||
rgba_char_args_set(btheme->text.back, 153, 153, 153, 255);
|
||||
rgba_char_args_set(btheme->text.shade1, 143, 143, 143, 255);
|
||||
rgba_char_args_set(btheme->text.shade2, 0xc6, 0x77, 0x77, 255);
|
||||
rgba_char_args_set(btheme->text.hilite, 255, 0, 0, 255);
|
||||
|
||||
/* syntax highlighting */
|
||||
rgba_char_args_set(btheme->text.syntaxn, 0, 0, 200, 255); /* Numbers Blue*/
|
||||
rgba_char_args_set(btheme->text.syntaxl, 100, 0, 0, 255); /* Strings Red */
|
||||
rgba_char_args_set(btheme->text.syntaxc, 0, 100, 50, 255); /* Comments Greenish */
|
||||
rgba_char_args_set(btheme->text.syntaxv, 95, 95, 0, 255); /* Special Yellow*/
|
||||
rgba_char_args_set(btheme->text.syntaxd, 50, 0, 140, 255); /* Decorator/Preprocessor Dir. Blue-purple */
|
||||
rgba_char_args_set(btheme->text.syntaxr, 140, 60, 0, 255); /* Reserved Orange*/
|
||||
rgba_char_args_set(btheme->text.syntaxb, 128, 0, 80, 255); /* Builtin Red-purple */
|
||||
rgba_char_args_set(btheme->text.syntaxs, 76, 76, 76, 255); /* Gray (mix between fg/bg) */
|
||||
|
||||
/* space oops */
|
||||
btheme->toops = btheme->tv3d;
|
||||
rgba_char_args_set_fl(btheme->toops.back, 0.45, 0.45, 0.45, 1.0);
|
||||
|
||||
rgba_char_args_set_fl(btheme->toops.match, 0.2, 0.5, 0.2, 0.3); /* highlighting search match - soft green*/
|
||||
rgba_char_args_set_fl(btheme->toops.selected_highlight, 0.51, 0.53, 0.55, 0.3);
|
||||
|
||||
/* space info */
|
||||
btheme->tinfo = btheme->tv3d;
|
||||
rgba_char_args_set_fl(btheme->tinfo.back, 0.45, 0.45, 0.45, 1.0);
|
||||
rgba_char_args_set(btheme->tinfo.info_selected, 96, 128, 255, 255);
|
||||
rgba_char_args_set(btheme->tinfo.info_selected_text, 255, 255, 255, 255);
|
||||
rgba_char_args_set(btheme->tinfo.info_error, 220, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tinfo.info_error_text, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tinfo.info_warning, 220, 128, 96, 255);
|
||||
rgba_char_args_set(btheme->tinfo.info_warning_text, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tinfo.info_info, 0, 170, 0, 255);
|
||||
rgba_char_args_set(btheme->tinfo.info_info_text, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tinfo.info_debug, 196, 196, 196, 255);
|
||||
rgba_char_args_set(btheme->tinfo.info_debug_text, 0, 0, 0, 255);
|
||||
|
||||
/* space user preferences */
|
||||
btheme->tuserpref = btheme->tv3d;
|
||||
rgba_char_args_set_fl(btheme->tuserpref.back, 0.45, 0.45, 0.45, 1.0);
|
||||
|
||||
/* space console */
|
||||
btheme->tconsole = btheme->tv3d;
|
||||
rgba_char_args_set(btheme->tconsole.back, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tconsole.console_output, 96, 128, 255, 255);
|
||||
rgba_char_args_set(btheme->tconsole.console_input, 255, 255, 255, 255);
|
||||
rgba_char_args_set(btheme->tconsole.console_info, 0, 170, 0, 255);
|
||||
rgba_char_args_set(btheme->tconsole.console_error, 220, 96, 96, 255);
|
||||
rgba_char_args_set(btheme->tconsole.console_cursor, 220, 96, 96, 255);
|
||||
rgba_char_args_set(btheme->tconsole.console_select, 255, 255, 255, 48);
|
||||
|
||||
/* space time */
|
||||
btheme->ttime = btheme->tv3d;
|
||||
rgba_char_args_set_fl(btheme->ttime.back, 0.45, 0.45, 0.45, 1.0);
|
||||
rgba_char_args_set_fl(btheme->ttime.grid, 0.36, 0.36, 0.36, 1.0);
|
||||
rgba_char_args_set(btheme->ttime.shade1, 173, 173, 173, 255); /* sliders */
|
||||
|
||||
rgba_char_args_set(btheme->ttime.time_keyframe, 0xDD, 0xD7, 0x00, 0xFF);
|
||||
rgba_char_args_set(btheme->ttime.time_gp_keyframe, 0xB5, 0xE6, 0x1D, 0xFF);
|
||||
|
||||
/* space node, re-uses syntax and console color storage */
|
||||
btheme->tnode = btheme->tv3d;
|
||||
rgba_char_args_set(btheme->tnode.syntaxr, 115, 115, 115, 255); /* wire inner color */
|
||||
rgba_char_args_set(btheme->tnode.edge_select, 255, 255, 255, 255); /* wire selected */
|
||||
rgba_char_args_set(btheme->tnode.syntaxl, 155, 155, 155, 160); /* TH_NODE, backdrop */
|
||||
rgba_char_args_set(btheme->tnode.syntaxn, 100, 100, 100, 255); /* in */
|
||||
rgba_char_args_set(btheme->tnode.nodeclass_output, 100, 100, 100, 255); /* output */
|
||||
rgba_char_args_set(btheme->tnode.syntaxb, 108, 105, 111, 255); /* operator */
|
||||
rgba_char_args_set(btheme->tnode.syntaxv, 104, 106, 117, 255); /* generator */
|
||||
rgba_char_args_set(btheme->tnode.syntaxc, 105, 117, 110, 255); /* group */
|
||||
rgba_char_args_set(btheme->tnode.nodeclass_texture, 108, 105, 111, 255); /* operator */
|
||||
rgba_char_args_set(btheme->tnode.nodeclass_shader, 108, 105, 111, 255); /* operator */
|
||||
rgba_char_args_set(btheme->tnode.nodeclass_filter, 108, 105, 111, 255); /* operator */
|
||||
rgba_char_args_set(btheme->tnode.nodeclass_script, 108, 105, 111, 255); /* operator */
|
||||
rgba_char_args_set(btheme->tnode.nodeclass_pattern, 108, 105, 111, 255); /* operator */
|
||||
rgba_char_args_set(btheme->tnode.nodeclass_vector, 108, 105, 111, 255); /* operator */
|
||||
rgba_char_args_set(btheme->tnode.nodeclass_layout, 108, 105, 111, 255); /* operator */
|
||||
rgba_char_args_set(btheme->tnode.movie, 155, 155, 155, 160); /* frame */
|
||||
rgba_char_args_set(btheme->tnode.syntaxs, 151, 116, 116, 255); /* matte nodes */
|
||||
rgba_char_args_set(btheme->tnode.syntaxd, 116, 151, 151, 255); /* distort nodes */
|
||||
rgba_char_args_set(btheme->tnode.console_output, 223, 202, 53, 255); /* interface nodes */
|
||||
btheme->tnode.noodle_curving = 5;
|
||||
|
||||
/* space clip */
|
||||
btheme->tclip = btheme->tv3d;
|
||||
|
||||
rgba_char_args_set(btheme->tclip.marker_outline, 0x00, 0x00, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tclip.marker, 0x7f, 0x7f, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tclip.act_marker, 0xff, 0xff, 0xff, 255);
|
||||
rgba_char_args_set(btheme->tclip.sel_marker, 0xff, 0xff, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tclip.dis_marker, 0x7f, 0x00, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tclip.lock_marker, 0x7f, 0x7f, 0x7f, 255);
|
||||
rgba_char_args_set(btheme->tclip.path_before, 0xff, 0x00, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tclip.path_after, 0x00, 0x00, 0xff, 255);
|
||||
rgba_char_args_set(btheme->tclip.grid, 0x5e, 0x5e, 0x5e, 255);
|
||||
rgba_char_args_set(btheme->tclip.cframe, 0x60, 0xc0, 0x40, 255);
|
||||
rgba_char_args_set(btheme->tclip.list, 0x66, 0x66, 0x66, 0xff);
|
||||
rgba_char_args_set(btheme->tclip.strip, 0x0c, 0x0a, 0x0a, 0x80);
|
||||
rgba_char_args_set(btheme->tclip.strip_select, 0xff, 0x8c, 0x00, 0xff);
|
||||
btheme->tclip.handle_vertex_size = 5;
|
||||
ui_theme_space_init_handles_color(&btheme->tclip);
|
||||
|
||||
/* space topbar */
|
||||
char tmp[4];
|
||||
btheme->ttopbar = btheme->tv3d;
|
||||
/* swap colors */
|
||||
copy_v4_v4_char(tmp, btheme->ttopbar.header);
|
||||
copy_v4_v4_char(btheme->ttopbar.header, btheme->ttopbar.tab_inactive);
|
||||
copy_v4_v4_char(btheme->ttopbar.back, tmp);
|
||||
|
||||
/* space statusbar */
|
||||
btheme->tstatusbar = btheme->tv3d;
|
||||
memcpy(btheme, &U_theme_default, sizeof(*btheme));
|
||||
}
|
||||
|
||||
void ui_style_init_default(void)
|
||||
@@ -1871,121 +1370,19 @@ void init_userdef_do_versions(Main *bmain)
|
||||
|
||||
/* added seam, normal color, undo */
|
||||
if (!USER_VERSION_ATLEAST(235, 0)) {
|
||||
bTheme *btheme;
|
||||
|
||||
U.uiflag |= USER_GLOBALUNDO;
|
||||
if (U.undosteps == 0) U.undosteps = 32;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* check for (alpha == 0) is safe, then color was never set */
|
||||
if (btheme->tv3d.edge_seam[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.edge_seam, 230, 150, 50, 255);
|
||||
}
|
||||
if (btheme->tv3d.normal[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.normal, 0x22, 0xDD, 0xDD, 255);
|
||||
}
|
||||
if (btheme->tv3d.vertex_normal[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.vertex_normal, 0x23, 0x61, 0xDD, 255);
|
||||
}
|
||||
if (btheme->tv3d.face_dot[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.face_dot, 255, 138, 48, 255);
|
||||
btheme->tv3d.facedot_size = 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(236, 0)) {
|
||||
/* illegal combo... */
|
||||
if (U.flag & USER_LMOUSESELECT)
|
||||
U.flag &= ~USER_TWOBUTTONMOUSE;
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(237, 0)) {
|
||||
bTheme *btheme;
|
||||
/* new space type */
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* check for (alpha == 0) is safe, then color was never set */
|
||||
if (btheme->ttime.back[3] == 0) {
|
||||
/* copied from ui_theme_init_default */
|
||||
btheme->ttime = btheme->tv3d;
|
||||
rgba_char_args_set_fl(btheme->ttime.back, 0.45, 0.45, 0.45, 1.0);
|
||||
rgba_char_args_set_fl(btheme->ttime.grid, 0.36, 0.36, 0.36, 1.0);
|
||||
rgba_char_args_set(btheme->ttime.shade1, 173, 173, 173, 255); /* sliders */
|
||||
}
|
||||
if (btheme->text.syntaxn[3] == 0) {
|
||||
rgba_char_args_set(btheme->text.syntaxn, 0, 0, 200, 255); /* Numbers Blue*/
|
||||
rgba_char_args_set(btheme->text.syntaxl, 100, 0, 0, 255); /* Strings red */
|
||||
rgba_char_args_set(btheme->text.syntaxc, 0, 100, 50, 255); /* Comments greenish */
|
||||
rgba_char_args_set(btheme->text.syntaxv, 95, 95, 0, 255); /* Special */
|
||||
rgba_char_args_set(btheme->text.syntaxb, 128, 0, 80, 255); /* Builtin, red-purple */
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(238, 0)) {
|
||||
bTheme *btheme;
|
||||
/* bone colors */
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* check for alpha==0 is safe, then color was never set */
|
||||
if (btheme->tv3d.bone_solid[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.bone_solid, 200, 200, 200, 255);
|
||||
rgba_char_args_set(btheme->tv3d.bone_pose, 80, 200, 255, 80);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(239, 0)) {
|
||||
bTheme *btheme;
|
||||
/* bone colors */
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* check for alpha==0 is safe, then color was never set */
|
||||
if (btheme->tnla.strip[3] == 0) {
|
||||
rgba_char_args_set(btheme->tnla.strip_select, 0xff, 0xff, 0xaa, 255);
|
||||
rgba_char_args_set(btheme->tnla.strip, 0xe4, 0x9c, 0xc6, 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(240, 0)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* Lamp theme, check for alpha==0 is safe, then color was never set */
|
||||
if (btheme->tv3d.lamp[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.lamp, 0, 0, 0, 40);
|
||||
/* TEMPORAL, remove me! (ton) */
|
||||
U.uiflag |= USER_PLAINMENUS;
|
||||
}
|
||||
|
||||
}
|
||||
U.uiflag |= USER_PLAINMENUS;
|
||||
if (U.obcenter_dia == 0) U.obcenter_dia = 6;
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(242, 0)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* Node editor theme, check for alpha==0 is safe, then color was never set */
|
||||
if (btheme->tnode.syntaxn[3] == 0) {
|
||||
/* re-uses syntax color storage */
|
||||
btheme->tnode = btheme->tv3d;
|
||||
rgba_char_args_set(btheme->tnode.edge_select, 255, 255, 255, 255);
|
||||
rgba_char_args_set(btheme->tnode.syntaxl, 150, 150, 150, 255); /* TH_NODE, backdrop */
|
||||
rgba_char_args_set(btheme->tnode.syntaxn, 129, 131, 144, 255); /* in/output */
|
||||
rgba_char_args_set(btheme->tnode.syntaxb, 127, 127, 127, 255); /* operator */
|
||||
rgba_char_args_set(btheme->tnode.syntaxv, 142, 138, 145, 255); /* generator */
|
||||
rgba_char_args_set(btheme->tnode.syntaxc, 120, 145, 120, 255); /* group */
|
||||
}
|
||||
/* Group theme colors */
|
||||
if (btheme->tv3d.group[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.group, 0x0C, 0x30, 0x0C, 255);
|
||||
rgba_char_args_set(btheme->tv3d.group_active, 0x66, 0xFF, 0x66, 255);
|
||||
}
|
||||
/* Sequence editor theme*/
|
||||
if (btheme->tseq.movie[3] == 0) {
|
||||
rgba_char_args_set(btheme->tseq.movie, 81, 105, 135, 255);
|
||||
rgba_char_args_set(btheme->tseq.image, 109, 88, 129, 255);
|
||||
rgba_char_args_set(btheme->tseq.scene, 78, 152, 62, 255);
|
||||
rgba_char_args_set(btheme->tseq.audio, 46, 143, 143, 255);
|
||||
rgba_char_args_set(btheme->tseq.effect, 169, 84, 124, 255);
|
||||
rgba_char_args_set(btheme->tseq.transition, 162, 95, 111, 255);
|
||||
rgba_char_args_set(btheme->tseq.meta, 109, 145, 131, 255);
|
||||
}
|
||||
}
|
||||
|
||||
/* set defaults for 3D View rotating axis indicator */
|
||||
/* since size can't be set to 0, this indicates it's not saved in startup.blend */
|
||||
if (U.rvisize == 0) {
|
||||
@@ -1995,119 +1392,18 @@ void init_userdef_do_versions(Main *bmain)
|
||||
}
|
||||
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(243, 0)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* long keyframe color */
|
||||
/* check for alpha==0 is safe, then color was never set */
|
||||
if (btheme->tact.strip[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.edge_sharp, 255, 32, 32, 255);
|
||||
rgba_char_args_set(btheme->tact.strip_select, 0xff, 0xff, 0xaa, 204);
|
||||
rgba_char_args_set(btheme->tact.strip, 0xe4, 0x9c, 0xc6, 204);
|
||||
}
|
||||
|
||||
/* IPO-Editor - Vertex Size*/
|
||||
if (btheme->tipo.vertex_size == 0) {
|
||||
btheme->tipo.vertex_size = 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(244, 0)) {
|
||||
/* set default number of recently-used files (if not set) */
|
||||
if (U.recent_files == 0) U.recent_files = 10;
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(245, 3)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tv3d.editmesh_active, 255, 255, 255, 128);
|
||||
}
|
||||
if (U.coba_weight.tot == 0)
|
||||
BKE_colorband_init(&U.coba_weight, true);
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(245, 3)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* these should all use the same color */
|
||||
rgba_char_args_set(btheme->tv3d.cframe, 0x60, 0xc0, 0x40, 255);
|
||||
rgba_char_args_set(btheme->tipo.cframe, 0x60, 0xc0, 0x40, 255);
|
||||
rgba_char_args_set(btheme->tact.cframe, 0x60, 0xc0, 0x40, 255);
|
||||
rgba_char_args_set(btheme->tnla.cframe, 0x60, 0xc0, 0x40, 255);
|
||||
rgba_char_args_set(btheme->tseq.cframe, 0x60, 0xc0, 0x40, 255);
|
||||
//rgba_char_args_set(btheme->tsnd.cframe, 0x60, 0xc0, 0x40, 255); Not needed anymore
|
||||
rgba_char_args_set(btheme->ttime.cframe, 0x60, 0xc0, 0x40, 255);
|
||||
}
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(245, 3)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* action channel groups (recolor anyway) */
|
||||
rgba_char_args_set(btheme->tact.group, 0x39, 0x7d, 0x1b, 255);
|
||||
rgba_char_args_set(btheme->tact.group_active, 0x7d, 0xe9, 0x60, 255);
|
||||
|
||||
/* bone custom-color sets */
|
||||
if (btheme->tarm[0].solid[3] == 0)
|
||||
ui_theme_init_boneColorSets(btheme);
|
||||
}
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(245, 3)) {
|
||||
U.flag |= USER_ADD_VIEWALIGNED | USER_ADD_EDITMODE;
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(245, 3)) {
|
||||
bTheme *btheme;
|
||||
|
||||
/* adjust themes */
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
const char *col;
|
||||
|
||||
/* IPO Editor: Handles/Vertices */
|
||||
col = btheme->tipo.vertex;
|
||||
rgba_char_args_set(btheme->tipo.handle_vertex, col[0], col[1], col[2], 255);
|
||||
col = btheme->tipo.vertex_select;
|
||||
rgba_char_args_set(btheme->tipo.handle_vertex_select, col[0], col[1], col[2], 255);
|
||||
btheme->tipo.handle_vertex_size = btheme->tipo.vertex_size;
|
||||
|
||||
/* Sequence/Image Editor: colors for GPencil text */
|
||||
col = btheme->tv3d.bone_pose;
|
||||
rgba_char_args_set(btheme->tseq.bone_pose, col[0], col[1], col[2], 255);
|
||||
rgba_char_args_set(btheme->tima.bone_pose, col[0], col[1], col[2], 255);
|
||||
col = btheme->tv3d.vertex_select;
|
||||
rgba_char_args_set(btheme->tseq.vertex_select, col[0], col[1], col[2], 255);
|
||||
}
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(250, 0)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* this was not properly initialized in 2.45 */
|
||||
if (btheme->tima.face_dot[3] == 0) {
|
||||
rgba_char_args_set(btheme->tima.editmesh_active, 255, 255, 255, 128);
|
||||
rgba_char_args_set(btheme->tima.face_dot, 255, 133, 0, 255);
|
||||
btheme->tima.facedot_size = 2;
|
||||
}
|
||||
|
||||
/* DopeSheet - (Object) Channel color */
|
||||
rgba_char_args_set(btheme->tact.ds_channel, 82, 96, 110, 255);
|
||||
rgba_char_args_set(btheme->tact.ds_subchannel, 124, 137, 150, 255);
|
||||
/* DopeSheet - Group Channel color (saner version) */
|
||||
rgba_char_args_set(btheme->tact.group, 79, 101, 73, 255);
|
||||
rgba_char_args_set(btheme->tact.group_active, 135, 177, 125, 255);
|
||||
|
||||
/* Graph Editor - (Object) Channel color */
|
||||
rgba_char_args_set(btheme->tipo.ds_channel, 82, 96, 110, 255);
|
||||
rgba_char_args_set(btheme->tipo.ds_subchannel, 124, 137, 150, 255);
|
||||
/* Graph Editor - Group Channel color */
|
||||
rgba_char_args_set(btheme->tipo.group, 79, 101, 73, 255);
|
||||
rgba_char_args_set(btheme->tipo.group_active, 135, 177, 125, 255);
|
||||
|
||||
/* Nla Editor - (Object) Channel color */
|
||||
rgba_char_args_set(btheme->tnla.ds_channel, 82, 96, 110, 255);
|
||||
rgba_char_args_set(btheme->tnla.ds_subchannel, 124, 137, 150, 255);
|
||||
/* NLA Editor - New Strip colors */
|
||||
rgba_char_args_set(btheme->tnla.strip, 12, 10, 10, 128);
|
||||
rgba_char_args_set(btheme->tnla.strip_select, 255, 140, 0, 255);
|
||||
}
|
||||
|
||||
/* adjust grease-pencil distances */
|
||||
U.gp_manhattendist = 1;
|
||||
U.gp_euclideandist = 2;
|
||||
@@ -2116,22 +1412,6 @@ void init_userdef_do_versions(Main *bmain)
|
||||
U.ipo_new = BEZT_IPO_BEZ;
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(250, 1)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
|
||||
/* common (new) variables, it checks for alpha==0 */
|
||||
ui_theme_init_new(btheme);
|
||||
|
||||
if (btheme->tui.wcol_num.outline[3] == 0)
|
||||
ui_widget_color_init(&btheme->tui);
|
||||
|
||||
rgba_char_args_set_fl(btheme->tinfo.back, 0.45, 0.45, 0.45, 1.0);
|
||||
rgba_char_args_set_fl(btheme->tuserpref.back, 0.45, 0.45, 0.45, 1.0);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(250, 3)) {
|
||||
/* new audio system */
|
||||
if (U.audiochannels == 0)
|
||||
@@ -2194,66 +1474,8 @@ void init_userdef_do_versions(Main *bmain)
|
||||
U.flag &= ~USER_TWOBUTTONMOUSE;
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(252, 4)) {
|
||||
bTheme *btheme;
|
||||
|
||||
/* default new handle type is auto handles */
|
||||
U.keyhandles_new = HD_AUTO;
|
||||
|
||||
/* init new curve colors */
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
ui_theme_space_init_handles_color(&btheme->tv3d);
|
||||
ui_theme_space_init_handles_color(&btheme->tipo);
|
||||
|
||||
/* edge crease */
|
||||
rgba_char_args_set_fl(btheme->tv3d.edge_crease, 0.8, 0, 0.6, 1.0);
|
||||
}
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(253, 0)) {
|
||||
bTheme *btheme;
|
||||
|
||||
/* init new curve colors */
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tv3d.lastsel_point[3] == 0)
|
||||
rgba_char_args_set(btheme->tv3d.lastsel_point, 0xff, 0xff, 0xff, 255);
|
||||
}
|
||||
}
|
||||
if (!USER_VERSION_ATLEAST(252, 5)) {
|
||||
bTheme *btheme;
|
||||
|
||||
/* interface_widgets.c */
|
||||
struct uiWidgetColors wcol_progress = {
|
||||
{0, 0, 0, 255},
|
||||
{190, 190, 190, 255},
|
||||
{100, 100, 100, 180},
|
||||
{128, 128, 128, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
0,
|
||||
5, -5
|
||||
};
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* init progress bar theme */
|
||||
btheme->tui.wcol_progress = wcol_progress;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(255, 2)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tv3d.extra_edge_len, 32, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.extra_face_angle, 0, 32, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.extra_face_area, 0, 0, 128, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(256, 4)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if ((btheme->tv3d.outline_width) == 0) btheme->tv3d.outline_width = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(257, 0)) {
|
||||
@@ -2262,226 +1484,22 @@ void init_userdef_do_versions(Main *bmain)
|
||||
U.autokey_flag &= ~AUTOKEY_FLAG_ONLYKEYINGSET;
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(258, 2)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
btheme->tnode.noodle_curving = 5;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(259, 1)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
btheme->tv3d.speaker[3] = 255;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(260, 3)) {
|
||||
bTheme *btheme;
|
||||
|
||||
/* if new keyframes handle default is stuff "auto", make it "auto-clamped" instead
|
||||
* was changed in 260 as part of GSoC11, but version patch was wrong
|
||||
*/
|
||||
if (U.keyhandles_new == HD_AUTO)
|
||||
U.keyhandles_new = HD_AUTO_ANIM;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tv3d.bundle_solid[3] == 0)
|
||||
rgba_char_args_set(btheme->tv3d.bundle_solid, 200, 200, 200, 255);
|
||||
|
||||
if (btheme->tv3d.camera_path[3] == 0)
|
||||
rgba_char_args_set(btheme->tv3d.camera_path, 0x00, 0x00, 0x00, 255);
|
||||
|
||||
if ((btheme->tclip.back[3]) == 0) {
|
||||
btheme->tclip = btheme->tv3d;
|
||||
|
||||
rgba_char_args_set(btheme->tclip.marker_outline, 0x00, 0x00, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tclip.marker, 0x7f, 0x7f, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tclip.act_marker, 0xff, 0xff, 0xff, 255);
|
||||
rgba_char_args_set(btheme->tclip.sel_marker, 0xff, 0xff, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tclip.dis_marker, 0x7f, 0x00, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tclip.lock_marker, 0x7f, 0x7f, 0x7f, 255);
|
||||
rgba_char_args_set(btheme->tclip.path_before, 0xff, 0x00, 0x00, 255);
|
||||
rgba_char_args_set(btheme->tclip.path_after, 0x00, 0x00, 0xff, 255);
|
||||
rgba_char_args_set(btheme->tclip.grid, 0x5e, 0x5e, 0x5e, 255);
|
||||
rgba_char_args_set(btheme->tclip.cframe, 0x60, 0xc0, 0x40, 255);
|
||||
rgba_char_args_set(btheme->tclip.handle_vertex, 0x00, 0x00, 0x00, 0xff);
|
||||
rgba_char_args_set(btheme->tclip.handle_vertex_select, 0xff, 0xff, 0, 0xff);
|
||||
btheme->tclip.handle_vertex_size = 5;
|
||||
}
|
||||
|
||||
/* auto-clamped handles -> based on auto */
|
||||
if (btheme->tipo.handle_auto_clamped[3] == 0)
|
||||
rgba_char_args_set(btheme->tipo.handle_auto_clamped, 0x99, 0x40, 0x30, 255);
|
||||
if (btheme->tipo.handle_sel_auto_clamped[3] == 0)
|
||||
rgba_char_args_set(btheme->tipo.handle_sel_auto_clamped, 0xf0, 0xaf, 0x90, 255);
|
||||
}
|
||||
|
||||
/* enable (Cycles) addon by default */
|
||||
BKE_addon_ensure(&U.addons, "cycles");
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(260, 5)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tui.panel.header, 0, 0, 0, 25);
|
||||
btheme->tui.icon_alpha = 1.0;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(261, 4)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_face, 0.071, 0.259, 0.694, 0.150);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_edge, 1.0, 0.522, 0.0, 0.7);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_vert, 1.0, 0.522, 0.0, 0.5);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_stitchable, 0.0, 1.0, 0.0, 1.0);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_unstitchable, 1.0, 0.0, 0.0, 1.0);
|
||||
rgba_char_args_set_fl(btheme->tima.preview_stitch_active, 0.886, 0.824, 0.765, 0.140);
|
||||
|
||||
rgba_char_args_set_fl(btheme->toops.match, 0.2, 0.5, 0.2, 0.3);
|
||||
rgba_char_args_set_fl(btheme->toops.selected_highlight, 0.51, 0.53, 0.55, 0.3);
|
||||
}
|
||||
|
||||
U.use_16bit_textures = true;
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(262, 2)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tui.wcol_menu_item.item[3] == 255)
|
||||
rgba_char_args_set(btheme->tui.wcol_menu_item.item, 172, 172, 172, 128);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(262, 3)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tui.wcol_tooltip.inner[3] == 0) {
|
||||
btheme->tui.wcol_tooltip = btheme->tui.wcol_menu_back;
|
||||
}
|
||||
if (btheme->tui.wcol_tooltip.text[0] == 160) { /* hrmf */
|
||||
rgba_char_args_set(btheme->tui.wcol_tooltip.text, 255, 255, 255, 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(262, 4)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tseq.movieclip[3] == 0) {
|
||||
rgba_char_args_set(btheme->tseq.movieclip, 32, 32, 143, 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(263, 2)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tclip.strip[0] == 0) {
|
||||
rgba_char_args_set(btheme->tclip.list, 0x66, 0x66, 0x66, 0xff);
|
||||
rgba_char_args_set(btheme->tclip.strip, 0x0c, 0x0a, 0x0a, 0x80);
|
||||
rgba_char_args_set(btheme->tclip.strip_select, 0xff, 0x8c, 0x00, 0xff);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(263, 6)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next)
|
||||
rgba_char_args_set(btheme->tv3d.skin_root, 180, 77, 77, 255);
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(263, 7)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* DopeSheet Summary */
|
||||
rgba_char_args_set(btheme->tact.anim_active, 204, 112, 26, 102);
|
||||
|
||||
/* NLA Colors */
|
||||
rgba_char_args_set(btheme->tnla.anim_active, 204, 112, 26, 102); /* same as dopesheet above */
|
||||
rgba_char_args_set(btheme->tnla.anim_non_active, 153, 135, 97, 77);
|
||||
|
||||
rgba_char_args_set(btheme->tnla.nla_tweaking, 77, 243, 26, 77);
|
||||
rgba_char_args_set(btheme->tnla.nla_tweakdupli, 217, 0, 0, 255);
|
||||
|
||||
rgba_char_args_set(btheme->tnla.nla_transition, 28, 38, 48, 255);
|
||||
rgba_char_args_set(btheme->tnla.nla_transition_sel, 46, 117, 219, 255);
|
||||
rgba_char_args_set(btheme->tnla.nla_meta, 51, 38, 66, 255);
|
||||
rgba_char_args_set(btheme->tnla.nla_meta_sel, 105, 33, 150, 255);
|
||||
rgba_char_args_set(btheme->tnla.nla_sound, 43, 61, 61, 255);
|
||||
rgba_char_args_set(btheme->tnla.nla_sound_sel, 31, 122, 122, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(263, 11)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tseq.mask[3] == 0) {
|
||||
rgba_char_args_set(btheme->tseq.mask, 152, 78, 62, 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(263, 15)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tv3d.bone_pose_active, 140, 255, 255, 80);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(263, 16)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tact.anim_active[3] == 0)
|
||||
rgba_char_args_set(btheme->tact.anim_active, 204, 112, 26, 102);
|
||||
|
||||
if (btheme->tnla.anim_active[3] == 0)
|
||||
rgba_char_args_set(btheme->tnla.anim_active, 204, 112, 26, 102);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(263, 22)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tipo.lastsel_point[3] == 0)
|
||||
rgba_char_args_set(btheme->tipo.lastsel_point, 0xff, 0xff, 0xff, 255);
|
||||
|
||||
if (btheme->tv3d.skin_root[3] == 0)
|
||||
rgba_char_args_set(btheme->tv3d.skin_root, 180, 77, 77, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(264, 9)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tui.xaxis, 220, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tui.yaxis, 0, 220, 0, 255);
|
||||
rgba_char_args_set(btheme->tui.zaxis, 0, 0, 220, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(267, 0)) {
|
||||
/* Freestyle color settings */
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* check for alpha == 0 is safe, then color was never set */
|
||||
if (btheme->tv3d.freestyle_edge_mark[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.freestyle_edge_mark, 0x7f, 0xff, 0x7f, 255);
|
||||
rgba_char_args_set(btheme->tv3d.freestyle_face_mark, 0x7f, 0xff, 0x7f, 51);
|
||||
}
|
||||
|
||||
if (btheme->tv3d.wire_edit[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.wire_edit, 0x0, 0x0, 0x0, 255);
|
||||
}
|
||||
}
|
||||
|
||||
/* GL Texture Garbage Collection */
|
||||
if (U.textimeout == 0) {
|
||||
@@ -2523,175 +1541,12 @@ void init_userdef_do_versions(Main *bmain)
|
||||
U.tweak_threshold = 10;
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(265, 1)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* note: the toggle operator for transparent backdrops limits to these spacetypes */
|
||||
if (btheme->tnode.button[3] == 255) {
|
||||
btheme->tv3d.button[3] = 128;
|
||||
btheme->tnode.button[3] = 128;
|
||||
btheme->tima.button[3] = 128;
|
||||
btheme->tseq.button[3] = 128;
|
||||
btheme->tclip.button[3] = 128;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* panel header/backdrop supported locally per editor now */
|
||||
if (!USER_VERSION_ATLEAST(265, 2)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
ThemeSpace *ts;
|
||||
|
||||
/* new color, panel backdrop. Not used anywhere yet, until you enable it */
|
||||
copy_v3_v3_char(btheme->tui.panel.back, btheme->tbuts.button);
|
||||
btheme->tui.panel.back[3] = 128;
|
||||
|
||||
for (ts = UI_THEMESPACE_START(btheme); ts != UI_THEMESPACE_END(btheme); ts++) {
|
||||
ts->panelcolors = btheme->tui.panel;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* NOTE!! from now on use U.versionfile and U.subversionfile */
|
||||
#undef USER_VERSION_ATLEAST
|
||||
#define USER_VERSION_ATLEAST(ver, subver) MAIN_VERSION_ATLEAST((&(U)), ver, subver)
|
||||
|
||||
if (!USER_VERSION_ATLEAST(266, 0)) {
|
||||
bTheme *btheme;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* rna definition limits fac to 0.01 */
|
||||
if (btheme->tui.menu_shadow_fac == 0.0f) {
|
||||
btheme->tui.menu_shadow_fac = 0.5f;
|
||||
btheme->tui.menu_shadow_width = 12;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(265, 4)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->text.syntaxd, 50, 0, 140, 255); /* Decorator/Preprocessor Dir. Blue-purple */
|
||||
rgba_char_args_set(btheme->text.syntaxr, 140, 60, 0, 255); /* Reserved Orange */
|
||||
rgba_char_args_set(btheme->text.syntaxs, 76, 76, 76, 255); /* Gray (mix between fg/bg) */
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(265, 6)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
copy_v4_v4_char(btheme->tv3d.gradients.high_gradient, btheme->tv3d.back);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(265, 9)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_test_set(btheme->tnode.syntaxs, 151, 116, 116, 255); /* matte nodes */
|
||||
rgba_char_args_test_set(btheme->tnode.syntaxd, 116, 151, 151, 255); /* distort nodes */
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(265, 11)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_test_set(btheme->tconsole.console_select, 255, 255, 255, 48);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(266, 2)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_test_set(btheme->tnode.console_output, 223, 202, 53, 255); /* interface nodes */
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(268, 3)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_test_set(btheme->tima.uv_others, 96, 96, 96, 255);
|
||||
rgba_char_args_test_set(btheme->tima.uv_shadow, 112, 112, 112, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(269, 5)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tima.wire_edit, 192, 192, 192, 255);
|
||||
rgba_char_args_set(btheme->tima.edge_select, 255, 133, 0, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(269, 6)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
char r, g, b;
|
||||
r = btheme->tnode.syntaxn[0];
|
||||
g = btheme->tnode.syntaxn[1];
|
||||
b = btheme->tnode.syntaxn[2];
|
||||
rgba_char_args_test_set(btheme->tnode.nodeclass_output, r, g, b, 255);
|
||||
r = btheme->tnode.syntaxb[0];
|
||||
g = btheme->tnode.syntaxb[1];
|
||||
b = btheme->tnode.syntaxb[2];
|
||||
rgba_char_args_test_set(btheme->tnode.nodeclass_filter, r, g, b, 255);
|
||||
rgba_char_args_test_set(btheme->tnode.nodeclass_vector, r, g, b, 255);
|
||||
rgba_char_args_test_set(btheme->tnode.nodeclass_texture, r, g, b, 255);
|
||||
rgba_char_args_test_set(btheme->tnode.nodeclass_shader, r, g, b, 255);
|
||||
rgba_char_args_test_set(btheme->tnode.nodeclass_script, r, g, b, 255);
|
||||
rgba_char_args_test_set(btheme->tnode.nodeclass_pattern, r, g, b, 255);
|
||||
rgba_char_args_test_set(btheme->tnode.nodeclass_layout, r, g, b, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(269, 8)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_test_set(btheme->tinfo.info_selected, 96, 128, 255, 255);
|
||||
rgba_char_args_test_set(btheme->tinfo.info_selected_text, 255, 255, 255, 255);
|
||||
rgba_char_args_test_set(btheme->tinfo.info_error, 220, 0, 0, 255);
|
||||
rgba_char_args_test_set(btheme->tinfo.info_error_text, 0, 0, 0, 255);
|
||||
rgba_char_args_test_set(btheme->tinfo.info_warning, 220, 128, 96, 255);
|
||||
rgba_char_args_test_set(btheme->tinfo.info_warning_text, 0, 0, 0, 255);
|
||||
rgba_char_args_test_set(btheme->tinfo.info_info, 0, 170, 0, 255);
|
||||
rgba_char_args_test_set(btheme->tinfo.info_info_text, 0, 0, 0, 255);
|
||||
rgba_char_args_test_set(btheme->tinfo.info_debug, 196, 196, 196, 255);
|
||||
rgba_char_args_test_set(btheme->tinfo.info_debug_text, 0, 0, 0, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(269, 9)) {
|
||||
bTheme *btheme;
|
||||
/* Action Editor (and NLA Editor) - Keyframe Colors */
|
||||
/* Graph Editor - larger vertex size defaults */
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* Action Editor ................. */
|
||||
/* key types */
|
||||
rgba_char_args_set(btheme->tact.keytype_keyframe, 232, 232, 232, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_keyframe_select, 255, 190, 50, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_extreme, 232, 179, 204, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_extreme_select, 242, 128, 128, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_breakdown, 179, 219, 232, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_breakdown_select, 84, 191, 237, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_jitter, 148, 229, 117, 255);
|
||||
rgba_char_args_set(btheme->tact.keytype_jitter_select, 97, 192, 66, 255);
|
||||
|
||||
/* key border */
|
||||
rgba_char_args_set(btheme->tact.keyborder, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tact.keyborder_select, 0, 0, 0, 255);
|
||||
|
||||
/* NLA ............................ */
|
||||
/* key border */
|
||||
rgba_char_args_set(btheme->tnla.keyborder, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tnla.keyborder_select, 0, 0, 0, 255);
|
||||
|
||||
/* Graph Editor ................... */
|
||||
btheme->tipo.vertex_size = 6;
|
||||
btheme->tipo.handle_vertex_size = 5;
|
||||
}
|
||||
|
||||
/* grease pencil - new layer color */
|
||||
if (U.gpencil_new_layer_col[3] < 0.1f) {
|
||||
/* defaults to black, but must at least be visible! */
|
||||
@@ -2699,139 +1554,10 @@ void init_userdef_do_versions(Main *bmain)
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(269, 10)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
ThemeSpace *ts;
|
||||
|
||||
for (ts = UI_THEMESPACE_START(btheme); ts != UI_THEMESPACE_END(btheme); ts++) {
|
||||
rgba_char_args_set(ts->tab_active, 114, 114, 114, 255);
|
||||
rgba_char_args_set(ts->tab_inactive, 83, 83, 83, 255);
|
||||
rgba_char_args_set(ts->tab_back, 64, 64, 64, 255);
|
||||
rgba_char_args_set(ts->tab_outline, 60, 60, 60, 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(271, 0)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tui.wcol_tooltip.text, 255, 255, 255, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(272, 2)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set_fl(btheme->tv3d.paint_curve_handle, 0.5f, 1.0f, 0.5f, 0.5f);
|
||||
rgba_char_args_set_fl(btheme->tv3d.paint_curve_pivot, 1.0f, 0.5f, 0.5f, 0.5f);
|
||||
rgba_char_args_set_fl(btheme->tima.paint_curve_handle, 0.5f, 1.0f, 0.5f, 0.5f);
|
||||
rgba_char_args_set_fl(btheme->tima.paint_curve_pivot, 1.0f, 0.5f, 0.5f, 0.5f);
|
||||
rgba_char_args_set(btheme->tnode.syntaxr, 115, 115, 115, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(271, 5)) {
|
||||
bTheme *btheme;
|
||||
|
||||
struct uiWidgetColors wcol_pie_menu = {
|
||||
{10, 10, 10, 200},
|
||||
{25, 25, 25, 230},
|
||||
{140, 140, 140, 255},
|
||||
{45, 45, 45, 230},
|
||||
|
||||
{160, 160, 160, 255},
|
||||
{255, 255, 255, 255},
|
||||
|
||||
1,
|
||||
10, -10
|
||||
};
|
||||
|
||||
U.pie_menu_radius = 100;
|
||||
U.pie_menu_threshold = 12;
|
||||
U.pie_animation_timeout = 6;
|
||||
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
btheme->tui.wcol_pie_menu = wcol_pie_menu;
|
||||
|
||||
ui_theme_space_init_handles_color(&btheme->tclip);
|
||||
ui_theme_space_init_handles_color(&btheme->tima);
|
||||
btheme->tima.handle_vertex_size = 5;
|
||||
btheme->tclip.handle_vertex_size = 5;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(271, 6)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* check for (alpha == 0) is safe, then color was never set */
|
||||
if (btheme->tv3d.loop_normal[3] == 0) {
|
||||
rgba_char_args_set(btheme->tv3d.loop_normal, 0xDD, 0x23, 0xDD, 255);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(272, 3)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set_fl(btheme->tui.widget_emboss, 1.0f, 1.0f, 1.0f, 0.02f);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(273, 1)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* Grease Pencil vertex settings */
|
||||
rgba_char_args_set(btheme->tv3d.gp_vertex, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tv3d.gp_vertex_select, 255, 133, 0, 255);
|
||||
btheme->tv3d.gp_vertex_size = 3;
|
||||
|
||||
rgba_char_args_set(btheme->tseq.gp_vertex, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tseq.gp_vertex_select, 255, 133, 0, 255);
|
||||
btheme->tseq.gp_vertex_size = 3;
|
||||
|
||||
rgba_char_args_set(btheme->tima.gp_vertex, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tima.gp_vertex_select, 255, 133, 0, 255);
|
||||
btheme->tima.gp_vertex_size = 3;
|
||||
|
||||
rgba_char_args_set(btheme->tnode.gp_vertex, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tnode.gp_vertex_select, 255, 133, 0, 255);
|
||||
btheme->tnode.gp_vertex_size = 3;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(273, 5)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
unsigned char *cp = (unsigned char *)btheme->tv3d.clipping_border_3d;
|
||||
int c;
|
||||
copy_v4_v4_char((char *)cp, btheme->tv3d.back);
|
||||
c = cp[0] - 8;
|
||||
CLAMP(c, 0, 255);
|
||||
cp[0] = c;
|
||||
c = cp[1] - 8;
|
||||
CLAMP(c, 0, 255);
|
||||
cp[1] = c;
|
||||
c = cp[2] - 8;
|
||||
CLAMP(c, 0, 255);
|
||||
cp[2] = c;
|
||||
cp[3] = 255;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(274, 5)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
copy_v4_v4_char(btheme->tima.metadatatext, btheme->tima.text_hi);
|
||||
copy_v4_v4_char(btheme->tseq.metadatatext, btheme->tseq.text_hi);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(275, 1)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
copy_v4_v4_char(btheme->tclip.metadatatext, btheme->tseq.text_hi);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(275, 2)) {
|
||||
@@ -2842,79 +1568,6 @@ void init_userdef_do_versions(Main *bmain)
|
||||
U.node_margin = 80;
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(276, 1)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set_fl(btheme->tima.preview_back, 0.0f, 0.0f, 0.0f, 0.3f);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(276, 2)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tclip.gp_vertex, 0, 0, 0, 255);
|
||||
rgba_char_args_set(btheme->tclip.gp_vertex_select, 255, 133, 0, 255);
|
||||
btheme->tclip.gp_vertex_size = 3;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(276, 3)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tseq.text_strip, 162, 151, 0, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(276, 8)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tui.wcol_progress.item, 128, 128, 128, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(276, 10)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* 3dView Keyframe Indicators */
|
||||
rgba_char_args_set(btheme->tv3d.time_keyframe, 0xDD, 0xD7, 0x00, 0xFF);
|
||||
rgba_char_args_set(btheme->tv3d.time_gp_keyframe, 0xB5, 0xE6, 0x1D, 0xFF);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(277, 0)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (memcmp(btheme->tui.wcol_list_item.item, btheme->tui.wcol_list_item.text_sel, sizeof(char) * 3) == 0) {
|
||||
copy_v4_v4_char(btheme->tui.wcol_list_item.item, btheme->tui.wcol_text.item);
|
||||
copy_v4_v4_char(btheme->tui.wcol_list_item.text_sel, btheme->tui.wcol_text.text_sel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(277, 2)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tact.keyframe_scale_fac < 0.1f)
|
||||
btheme->tact.keyframe_scale_fac = 1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(278, 2)) {
|
||||
bTheme *btheme;
|
||||
for (btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
rgba_char_args_set(btheme->tv3d.vertex_bevel, 0, 165, 255, 255);
|
||||
rgba_char_args_set(btheme->tv3d.edge_bevel, 0, 165, 255, 255);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(278, 3)) {
|
||||
for (bTheme *btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
/* Keyframe Indicators (were using wrong alpha) */
|
||||
btheme->tv3d.time_keyframe[3] = btheme->tv3d.time_gp_keyframe[3] = 255;
|
||||
btheme->ttime.time_keyframe[3] = btheme->ttime.time_gp_keyframe[3] = 255;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(278, 6)) {
|
||||
/* Clear preference flags for re-use. */
|
||||
U.flag &= ~(
|
||||
@@ -2930,106 +1583,13 @@ void init_userdef_do_versions(Main *bmain)
|
||||
U.uiflag |= USER_LOCK_CURSOR_ADJUST;
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(280, 9)) {
|
||||
/* interface_widgets.c */
|
||||
struct uiWidgetColors wcol_tab = {
|
||||
{60, 60, 60, 255},
|
||||
{83, 83, 83, 255},
|
||||
{114, 114, 114, 255},
|
||||
{90, 90, 90, 255},
|
||||
|
||||
{0, 0, 0, 255},
|
||||
{0, 0, 0, 255},
|
||||
|
||||
0,
|
||||
0, 0
|
||||
};
|
||||
if (!USER_VERSION_ATLEAST(278, 20)) {
|
||||
U.gpu_viewport_quality = 0.6f;
|
||||
|
||||
/* Reset theme, old themes will not be compatible with minor version updates from now on. */
|
||||
for (bTheme *btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
char tmp[4];
|
||||
|
||||
btheme->tui.wcol_tab = wcol_tab;
|
||||
btheme->ttopbar = btheme->tv3d;
|
||||
/* swap colors */
|
||||
copy_v4_v4_char(tmp, btheme->ttopbar.header);
|
||||
copy_v4_v4_char(btheme->ttopbar.header, btheme->ttopbar.tab_inactive);
|
||||
copy_v4_v4_char(btheme->ttopbar.back, tmp);
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(280, 9)) {
|
||||
/* Timeline removal */
|
||||
for (bTheme *btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
if (btheme->tipo.anim_active[3] == 0) {
|
||||
rgba_char_args_set(btheme->tipo.anim_active, 204, 112, 26, 102);
|
||||
}
|
||||
if (btheme->tseq.anim_active[3] == 0) {
|
||||
rgba_char_args_set(btheme->tseq.anim_active, 204, 112, 26, 102);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(280, 10)) {
|
||||
/* Roundness */
|
||||
for (bTheme *btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
btheme->tui.wcol_regular.roundness = 0.25f;
|
||||
btheme->tui.wcol_tool.roundness = 0.2f;
|
||||
btheme->tui.wcol_text.roundness = 0.2f;
|
||||
btheme->tui.wcol_radio.roundness = 0.2f;
|
||||
btheme->tui.wcol_option.roundness = 0.333333f;
|
||||
btheme->tui.wcol_toggle.roundness = 0.25f;
|
||||
btheme->tui.wcol_num.roundness = 0.5f;
|
||||
btheme->tui.wcol_numslider.roundness = 0.5f;
|
||||
btheme->tui.wcol_tab.roundness = 0.25f;
|
||||
btheme->tui.wcol_menu.roundness = 0.2f;
|
||||
btheme->tui.wcol_pulldown.roundness = 0.2f;
|
||||
btheme->tui.wcol_menu_back.roundness = 0.25f;
|
||||
btheme->tui.wcol_menu_item.roundness = 0.25f;
|
||||
btheme->tui.wcol_tooltip.roundness = 0.25f;
|
||||
btheme->tui.wcol_box.roundness = 0.2f;
|
||||
btheme->tui.wcol_scroll.roundness = 0.5f;
|
||||
btheme->tui.wcol_progress.roundness = 0.25f;
|
||||
btheme->tui.wcol_list_item.roundness = 0.2f;
|
||||
btheme->tui.wcol_pie_menu.roundness = 0.5f;
|
||||
rgba_char_args_set_fl(btheme->tui.editor_outline, 0.25f, 0.25f, 0.25f, 1.0f);
|
||||
}
|
||||
}
|
||||
|
||||
if (((bTheme *)U.themes.first)->tui.wcol_toolbar_item.text[3] == 0) {
|
||||
struct uiWidgetColors wcol_toolbar_item = {
|
||||
.outline = {0x0, 0x0, 0x0, 0xff},
|
||||
.inner = {0x46, 0x46, 0x46, 0xff},
|
||||
.inner_sel = {0xcc, 0xcc, 0xcc, 0xff},
|
||||
.item = {0x0, 0x0, 0x0, 0xff},
|
||||
|
||||
.text = {0xff, 0xff, 0xff, 0xff},
|
||||
.text_sel = {0x33, 0x33, 0x33, 0xff},
|
||||
|
||||
.shaded = 0,
|
||||
.shadetop = 0,
|
||||
.shadedown = 0,
|
||||
.alpha_check = 0,
|
||||
.roundness = 0.3f,
|
||||
};
|
||||
for (bTheme *btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
btheme->tui.wcol_toolbar_item = wcol_toolbar_item;
|
||||
btheme->tui.icon_saturation = 1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(280, 16)) {
|
||||
for (bTheme *btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
btheme->tstatusbar = btheme->tv3d;
|
||||
}
|
||||
}
|
||||
|
||||
if (!USER_VERSION_ATLEAST(280, 17)) {
|
||||
for (bTheme *btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
ThemeSpace *ts;
|
||||
|
||||
for (ts = UI_THEMESPACE_START(btheme); ts != UI_THEMESPACE_END(btheme); ts++) {
|
||||
rgba_char_args_set(ts->panelcolors.sub_back, 0, 0, 0, 25);
|
||||
}
|
||||
memcpy(btheme, &U_theme_default, sizeof(*btheme));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3038,13 +1598,6 @@ void init_userdef_do_versions(Main *bmain)
|
||||
*/
|
||||
{
|
||||
/* (keep this block even if it becomes empty). */
|
||||
U.gpu_viewport_quality = 0.6f;
|
||||
}
|
||||
|
||||
if (((bTheme *)U.themes.first)->tui.manipulator_hi[3] == 0) {
|
||||
for (bTheme *btheme = U.themes.first; btheme; btheme = btheme->next) {
|
||||
ui_theme_space_init_manipulator_colors(btheme);
|
||||
}
|
||||
}
|
||||
|
||||
if (U.pixelsize == 0.0f)
|
||||
|
||||
Reference in New Issue
Block a user