[Bf-blender-cvs] [370345573eb] master: Cleanup: tabs to spaces for generated theme

Campbell Barton noreply at git.blender.org
Wed May 8 09:07:39 CEST 2019


Commit: 370345573eb7860cc68769aa9db4d833671c18d9
Author: Campbell Barton
Date:   Wed May 8 17:06:35 2019 +1000
Branches: master
https://developer.blender.org/rB370345573eb7860cc68769aa9db4d833671c18d9

Cleanup: tabs to spaces for generated theme

Update along with generation utility.

===================================================================

M	release/datafiles/userdef/userdef_default_theme.c

===================================================================

diff --git a/release/datafiles/userdef/userdef_default_theme.c b/release/datafiles/userdef/userdef_default_theme.c
index c93e4847c15..0341331fb12 100644
--- a/release/datafiles/userdef/userdef_default_theme.c
+++ b/release/datafiles/userdef/userdef_default_theme.c
@@ -19,1048 +19,1048 @@
 #endif
 
 const bTheme U_theme_default = {
-	.name = "Default",
-	.tui = {
-		.wcol_regular = {
-			.outline = RGBA(0x373737ff),
-			.inner = RGBA(0x585858ff),
-			.inner_sel = RGBA(0x5680c2e6),
-			.item = RGBA(0x3e3e3eff),
-			.text = RGBA(0xd9d9d9ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadedown = -5,
-			.roundness = 0.2f,
-		},
-		.wcol_tool = {
-			.outline = RGBA(0x373737ff),
-			.inner = RGBA(0x585858ff),
-			.inner_sel = RGBA(0x5680c2ff),
-			.item = RGBA(0xffffffff),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadedown = -5,
-			.roundness = 0.2f,
-		},
-		.wcol_toolbar_item = {
-			.outline = RGBA(0x373737ff),
-			.inner = RGBA(0x313131ff),
-			.inner_sel = RGBA(0x5680c2ff),
-			.item = RGBA(0xffffff8f),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.roundness = 0.2f,
-		},
-		.wcol_text = {
-			.outline = RGBA(0x444444ff),
-			.inner = RGBA(0x1f1f1fff),
-			.inner_sel = RGBA(0x505050ff),
-			.item = RGBA(0x191919ff),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.shaded = 1,
-			.shadetop = -3,
-			.roundness = 0.2f,
-		},
-		.wcol_radio = {
-			.outline = RGBA(0x373737ff),
-			.inner = RGBA(0x595959ff),
-			.inner_sel = RGBA(0x5680c2e6),
-			.item = RGBA(0xffffffff),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadetop = 5,
-			.shadedown = -5,
-			.roundness = 0.2f,
-		},
-		.wcol_option = {
-			.outline = RGBA(0x373737ff),
-			.inner = RGBA(0x666666ff),
-			.inner_sel = RGBA(0x5680c2e6),
-			.item = RGBA(0xffffffff),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadedown = -15,
-			.roundness = 0.2f,
-		},
-		.wcol_toggle = {
-			.outline = RGBA(0x373737ff),
-			.inner = RGBA(0x595959ff),
-			.inner_sel = RGBA(0x5680c2e6),
-			.item = RGBA(0x191919ff),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.roundness = 0.2f,
-		},
-		.wcol_num = {
-			.outline = RGBA(0x444444ff),
-			.inner = RGBA(0x595959ff),
-			.inner_sel = RGBA(0x505050ff),
-			.item = RGBA(0x191919ff),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.roundness = 0.2f,
-		},
-		.wcol_numslider = {
-			.outline = RGBA(0x444444ff),
-			.inner = RGBA(0x595959ff),
-			.inner_sel = RGBA(0x505050ff),
-			.item = RGBA(0x5680c2e6),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.shaded = 1,
-			.shadetop = -4,
-			.roundness = 0.2f,
-		},
-		.wcol_tab = {
-			.outline = RGBA(0x202020ff),
-			.inner = RGBA(0x2b2b2bff),
-			.inner_sel = RGBA(0x424242ff),
-			.item = RGBA(0x2d2d2dff),
-			.text = RGBA(0x989898ff),
-			.text_sel = RGBA(0xffffffff),
-			.roundness = 0.2f,
-		},
-		.wcol_menu = {
-			.outline = RGBA(0x444444ff),
-			.inner = RGBA(0x2c2c2cff),
-			.inner_sel = RGBA(0x696e76ff),
-			.item = RGBA(0xe6e6e6ff),
-			.text = RGBA(0xd9d9d9ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadetop = 10,
-			.shadedown = -10,
-			.roundness = 0.2f,
-		},
-		.wcol_pulldown = {
-			.outline = RGBA(0x4d4d4dff),
-			.inner = RGBA(0x2e2e2ecc),
-			.inner_sel = RGBA(0x5680c2e6),
-			.item = RGBA(0x727272ff),
-			.text = RGBA(0xd9d9d9ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadetop = 25,
-			.shadedown = -20,
-			.roundness = 0.2f,
-		},
-		.wcol_menu_back = {
-			.outline = RGBA(0x19191aff),
-			.inner = RGBA(0x1f1f1fef),
-			.inner_sel = RGBA(0x585858ff),
-			.item = RGBA(0x727272ff),
-			.text = RGBA(0xa5a5a5ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadetop = 25,
-			.shadedown = -20,
-			.roundness = 0.2f,
-		},
-		.wcol_menu_item = {
-			.inner_sel = RGBA(0x5680c2e6),
-			.item = RGBA(0xffffff8f),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadetop = 38,
-			.roundness = 0.2f,
-		},
-		.wcol_tooltip = {
-			.outline = RGBA(0x19191aff),
-			.inner = RGBA(0x19191aef),
-			.inner_sel = RGBA(0x19191aef),
-			.item = RGBA(0x19191aef),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadetop = 25,
-			.shadedown = -20,
-			.roundness = 0.2f,
-		},
-		.wcol_box = {
-			.outline = RGBA(0x444444ff),
-			.inner = RGBA(0x00000033),
-			.inner_sel = RGBA(0x696e76ff),
-			.item = RGBA(0x191919ff),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.roundness = 0.2f,
-		},
-		.wcol_scroll = {
-			.outline = RGBA(0x424242ff),
-			.inner = RGBA(0x67676700),
-			.inner_sel = RGBA(0xb3b3b3ff),
-			.item = RGBA(0x676767ff),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadetop = 5,
-			.shadedown = -5,
-			.roundness = 0.5f,
-		},
-		.wcol_progress = {
-			.outline = RGBA(0x585858ff),
-			.inner = RGBA(0x2c2c2cff),
-			.inner_sel = RGBA(0x5680c2ff),
-			.item = RGBA(0x5680c2ff),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.roundness = 0.2f,
-		},
-		.wcol_list_item = {
-			.outline = RGBA(0x2d2d2dff),
-			.inner = RGBA(0x2d2d2d00),
-			.inner_sel = RGBA(0x696e76ff),
-			.item = RGBA(0xb3b3b3ff),
-			.text = RGBA(0xe6e6e6ff),
-			.text_sel = RGBA(0xffffffff),
-			.roundness = 0.2f,
-		},
-		.wcol_pie_menu = {
-			.outline = RGBA(0x333333ff),
-			.inner = RGBA(0x212121ef),
-			.inner_sel = RGBA(0x5680c2e6),
-			.item = RGBA(0x585858ff),
-			.text = RGBA(0xd9d9d9ff),
-			.text_sel = RGBA(0xffffffff),
-			.shadetop = 10,
-			.shadedown = -10,
-			.roundness = 0.2f,
-		},
-		.wcol_state = {
-			.inner_anim = RGBA(0x53992eff),
-			.inner_anim_sel = RGBA(0x5aa633ff),
-			.inner_key = RGBA(0xb3ae36ff),
-			.inner_key_sel = RGBA(0xd7d34bff),
-			.inner_driven = RGBA(0x9000ccff),
-			.inner_driven_sel = RGBA(0x9900e6ff),
-			.inner_overridden = RGBA(0x19c3c300),
-			.inner_overridden_sel = RGBA(0x118f8f00),
-			.inner_changed = RGBA(0xcc7529ff),
-			.inner_changed_sel = RGBA(0xe6852dff),
-			.blend = 0.5f,
-		},
-		.widget_emboss = RGBA(0x00000005),
-		.menu_shadow_fac = 0.3f,
-		.menu_shadow_width = 4,
-		.editor_outline = RGBA(0x1f1f1fff),
-		.icon_alpha = 1.0f,
-		.icon_saturation = 0.5f,
-		.xaxis = RGBA(0xff3352ff),
-		.yaxis = RGBA(0x8bdc00ff),
-		.zaxis = RGBA(0x2890ffff),
-		.gizmo_hi = RGBA(0xffffffff),
-		.gizmo_primary = RGBA(0xf5f14dff),
-		.gizmo_secondary = RGBA(0x63ffffff),
-		.gizmo_a = RGBA(0x4da84dff),
-		.gizmo_b = RGBA(0xa33535ff),
-		.icon_collection = RGBA(0xe6e6e6ff),
-		.icon_object = RGBA(0xe49759ff),
-		.icon_object_data = RGBA(0x89e689ff),
-		.icon_modifier = RGBA(0x84b8ffff),
-		.icon_shading = RGBA(0xff6060ff),
-	},
-	.space_properties = {
-		.back = RGBA(0x42424200),
-		.title = RGBA(0xd4d4d4ff),
-		.text = RGBA(0xe6e6e6ff),
-		.text_hi = RGBA(0xffffffff),
-		.header = RGBA(0x424242ff),
-		.header_text = RGBA(0xeeeeeeff),
-		.header_text_hi = RGBA(0xffffffff),
-		.tab_active = RGBA(0x4b4b4bff),
-		.tab_inactive = RGBA(0x2b2b2bff),
-		.tab_back = RGBA(0x232323ff),
-		.tab_outline = RGBA(0x232323ff),
-		.button = RGBA(0x424242ff),
-		.button_title = RGBA(0xffffffff),
-		.button_text = RGBA(0xe5e5e5ff),
-		.button_text_hi = RGBA(0xffffffff),
-		.navigation_bar = RGBA(0x232323ff),
-		.panelcolors = {
-			.header = RGBA(0x42424200),
-			.back = RGBA(0x00000028),
-			.sub_back = RGBA(0x00000024),
-		},
-		.vertex_size = 3,
-		.outline_width = 1,
-		.facedot_size = 4,
-	},
-	.space_view3d = {
-		.back = RGBA(0x393939ff),
-		.title = RGBA(0xeeeeeeff),
-		.text = RGBA(0xe6e6e6ff),
-		.text_hi = RGBA(0xffffffff),
-		.header = RGBA(0x42424200),
-		.header_text = RGBA(0xeeeeeeff),
-		.header_text_hi = RGBA(0xffffffff),
-		.tab_active = RGBA(0x4b4b4bff),
-		.tab_inactive = RGBA(0x2b2b2bff),
-		.tab_back = RGBA(0x232323ff),
-		.tab_outline = RGBA(0x232323ff),
-		.button = RGBA(0x35353500),
-		.button_title = RGBA(0xffffffff),
-		.button_text = RGBA(0xe5e5e5ff),
-		.button_text_hi = RGBA(0xffffffff),
-		.panelcolors = {
-			.header = RGBA(0x424242e6),
-			.back = RGBA(0x333333f0),
-			.sub_back = RGBA(0x0000003e),
-		},
-		.grid = RGBA(0xa7a7a733),
-		.wire = RGBA(0x000000ff),
-		.wire_edit = RGBA(0x000000ff),
-		.select = RGBA(0xed5700ff),
-		.lamp = RGBA(0x00000028),
-		.speaker = RGBA(0x000000ff),
-		.empty = RGBA(0x000000ff),
-		.camera = RGBA(0x000000ff),
-		.active = RGBA(0xffa028ff),
-		.transform = RGBA(0xffffffff),
-		.vertex = RGBA(0x000000ff),
-		.vertex_select = RGBA(0xff7a00ff),
-		.vertex_bevel = RGBA(0x00a5ffff),
-		.edge = RGBA(0x000000ff),
-		.edge_select = RGBA(0xff7200ff),
-		.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(0xff990056),
-		.face_dot = RGBA(0xff8a00ff),
-		.extra_edge_len = RGBA(0x150806ff),
-		.extra_edge_angle = RGBA(0x4d4d00ff),
-		.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(0x7fff7f4d),
-		.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,
-		.obcenter_dia = 6,
-		.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_ve

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list