* Fixed a silly problem when changing the colours of the 'Neutral' button theme entry (which changed both the outline of buttons and various other grey buttons). Added a new theme colour 'Outline' and left 'Neutral' to remain, well, neutral.
Thanks Desoto for the report.
This commit is contained in:
@@ -1818,9 +1818,9 @@ void info_user_themebuts(uiBlock *block, short y1, short y2, short y3)
|
||||
uiDefBut(block, TEX, B_NAME_THEME, "", 255,y3,200,20, btheme->name, 1.0, 30.0, 0, 0, "Rename theme");
|
||||
|
||||
/* main choices pup */
|
||||
uiDefButS(block, MENU, B_CHANGE_THEME, "UI and Buttons %x1|3D View %x2|Ipo Curve Editor %x3|Action Editor %x4|"
|
||||
"NLA Editor %x5|UV/Image Editor %x6|Video Sequence Editor %x7|Audio Timeline %x8|Text Editor %x9|User Preferences %x10|"
|
||||
"OOPS Schematic %x11|Buttons Window %x12|File Browser %x13|Image Browser %x14",
|
||||
uiDefButS(block, MENU, B_CHANGE_THEME, "UI and Buttons %x1|%l|3D View %x2|%l|Ipo Curve Editor %x3|Action Editor %x4|"
|
||||
"NLA Editor %x5|%l|UV/Image Editor %x6|Video Sequence Editor %x7|Audio Timeline %x8|Text Editor %x9|%l|User Preferences %x10|"
|
||||
"OOPS Schematic %x11|Buttons Window %x12|%l|File Browser %x13|Image Browser %x14",
|
||||
255,y2,200,20, &curmain, 0, 0, 0, 0, "Specify theme for...");
|
||||
if(curmain==1) spacetype= 0;
|
||||
else if(curmain==2) spacetype= SPACE_VIEW3D;
|
||||
|
||||
Reference in New Issue
Block a user