Tweaks to the GuiMenuBarProfile to have correct coloration and borders.

Also added a new Centered Text Edit gui profile.
This commit is contained in:
Areloch 2018-01-28 15:22:42 -06:00
parent db0360cf48
commit 78f79abaa1

View file

@ -287,6 +287,31 @@ new GuiControlProfile( ToolsGuiTextEditProfile )
category = "Tools";
};
if( !isObject( ToolsGuiTextEditCenterProfile ) )
new GuiControlProfile (ToolsGuiTextEditCenterProfile)
{
opaque = true;
//bitmap = "./images/textEditFrame";
//hasBitmapArray = true;
border = -2; // fix to display textEdit img
//borderWidth = "1"; // fix to display textEdit img
//borderColor = "100 100 100";
fillColor = "255 255 255 0";
fillColorHL = "72 72 72";
fillColorSEL = "255 255 255";
fontColor = "196 196 196 255";
fontColorHL = "255 255 255";
fontColorSEL = "0 0 0";
fontColorNA = "196 196 196 255";
textOffset = "4 2";
autoSizeWidth = false;
autoSizeHeight = true;
justify = "center";
tab = true;
canKeyFocus = true;
category = "Tools";
};
if( !isObject( ToolsGuiNumericTextEditProfile ) )
new GuiControlProfile( ToolsGuiNumericTextEditProfile : ToolsGuiTextEditProfile )
{
@ -1068,10 +1093,14 @@ singleton GuiControlProfile( GuiMenuBarProfile )
{
fillcolor = "255 255 255";
fillcolorHL = "213 231 248";
borderColor = "98 163 229";
borderColorHL = "122 177 232";
border = 0;
fontColorNA = "180 180 180";
border = 1;
borderThickness = 1;
borderColor = "128 128 128";
borderColorHL = "122 177 232";
opaque = true;
mouseOverSelected = true;
category = "Editor";