mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
Implementation of Nils' UI work for updated theming, functionality and style for the editors suite
This commit is contained in:
parent
dc1d6e7d9d
commit
33f35d35d4
908 changed files with 15381 additions and 3065 deletions
|
|
@ -27,6 +27,19 @@ function execEditorProfilesCS()
|
|||
|
||||
$Gui::clipboardFile = expandFilename("./clipboard.gui");
|
||||
|
||||
$Gui::fontTypeRegular = "Arial";
|
||||
$Gui::fontTypeLight = "Arial Light";
|
||||
$Gui::fontTypeMedium = "Arial Medium";
|
||||
$Gui::fontTypeBold = "Arial Bold";
|
||||
$Gui::fontTypeItalic = "Arial Italic";
|
||||
$Gui::fontTypeMono = "Arial";
|
||||
|
||||
$GUI::fontSize[12] = 12;
|
||||
$GUI::fontSize[14] = 14;
|
||||
$GUI::fontSize[16] = 16;
|
||||
$GUI::fontSize[18] = 18;
|
||||
$GUI::fontSize[24] = 24;
|
||||
$GUI::fontSize[36] = 36;
|
||||
|
||||
if( !isObject( ToolsGuiDefaultProfile ) )
|
||||
new GuiControlProfile (ToolsGuiDefaultProfile)
|
||||
|
|
@ -50,8 +63,8 @@ new GuiControlProfile (ToolsGuiDefaultProfile)
|
|||
borderColorNA = EditorSettings.value("Theme/dividerLightColor");
|
||||
|
||||
// font
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fontCharset = ANSI;
|
||||
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
|
|
@ -122,6 +135,12 @@ new GuiControlProfile( ToolsGuiTabBorderProfile )
|
|||
category = "Tools";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiDefaultIconBtnProfile ) )
|
||||
new GuiControlProfile (ToolsGuiDefaultIconBtnProfile : ToolsGuiDefaultProfile)
|
||||
{
|
||||
fontSize = $GUI::fontSize[16];
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiToolTipProfile ) )
|
||||
new GuiControlProfile (ToolsGuiToolTipProfile)
|
||||
{
|
||||
|
|
@ -132,8 +151,8 @@ new GuiControlProfile (ToolsGuiToolTipProfile)
|
|||
borderColor = EditorSettings.value("Theme/tooltipDivColor");
|
||||
|
||||
// font
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[18];
|
||||
fontColor = EditorSettings.value("Theme/tooltipTextColor");
|
||||
|
||||
category = "Tools";
|
||||
|
|
@ -150,7 +169,7 @@ if( !isObject( ToolsGuiFrameSetProfile ) )
|
|||
new GuiControlProfile (ToolsGuiFrameSetProfile)
|
||||
{
|
||||
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
||||
borderColor = "246 245 244";
|
||||
borderColor = "64 64 64";
|
||||
border = 1;
|
||||
opaque = true;
|
||||
border = true;
|
||||
|
|
@ -172,10 +191,27 @@ new GuiControlProfile (ToolsGuiWindowProfile)
|
|||
bevelColorLL = "0 0 0";
|
||||
text = "untitled";
|
||||
bitmapAsset = "ToolsModule:window_image";
|
||||
textOffset = "10 4";
|
||||
textOffset = "10 0";
|
||||
hasBitmapArray = true;
|
||||
justify = "left";
|
||||
category = "Tools";
|
||||
fontType = $Gui::fontTypeMedium;
|
||||
fontSize = $GUI::fontSize[18];
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiPaneProfile ) )
|
||||
new GuiControlProfile (ToolsGuiPaneProfile)
|
||||
{
|
||||
opaque = false;
|
||||
border = 1;
|
||||
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
||||
fillColorHL = EditorSettings.value("Theme/windowBackgroundColor");
|
||||
fillColorSEL = EditorSettings.value("Theme/windowBackgroundColor");
|
||||
fillColorNA = EditorSettings.value("Theme/windowBackgroundColor");
|
||||
borderColor = EditorSettings.value("Theme/windowBackgroundColor");
|
||||
category = "Tools";
|
||||
fontType = $Gui::fontTypeMedium;
|
||||
fontSize = $GUI::fontSize[18];
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiToolbarWindowProfile ) )
|
||||
|
|
@ -195,6 +231,8 @@ new GuiControlProfile (ToolsGuiWindowCollapseProfile : ToolsGuiWindowProfile)
|
|||
if( !isObject( ToolsGuiTextProfile ) )
|
||||
new GuiControlProfile (ToolsGuiTextProfile)
|
||||
{
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
opaque = true;
|
||||
justify = "left";
|
||||
fontColor = EditorSettings.value("Theme/headerTextColor");
|
||||
|
|
@ -204,7 +242,7 @@ new GuiControlProfile (ToolsGuiTextProfile)
|
|||
if( !isObject( ToolsGuiTextBoldProfile ) )
|
||||
new GuiControlProfile (ToolsGuiTextBoldProfile : ToolsGuiTextProfile)
|
||||
{
|
||||
fontType = "Arial Bold";
|
||||
fontType = $Gui::fontTypeBold;
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiXDimensionText ) )
|
||||
|
|
@ -231,8 +269,7 @@ if( !isObject( ToolsGuiTextBoldCenterProfile ) )
|
|||
new GuiControlProfile (ToolsGuiTextBoldCenterProfile : ToolsGuiTextProfile)
|
||||
{
|
||||
fontColor = EditorSettings.value("Theme/headerTextColor");
|
||||
fontType = "Arial Bold";
|
||||
fontSize = 16;
|
||||
fontType = $Gui::fontTypeBold;
|
||||
justify = "center";
|
||||
category = "Tools";
|
||||
};
|
||||
|
|
@ -247,8 +284,7 @@ new GuiControlProfile (ToolsGuiTextRightProfile : ToolsGuiTextProfile)
|
|||
if( !isObject( ToolsGuiTextBoldRightProfile ) )
|
||||
new GuiControlProfile (ToolsGuiTextBoldRightProfile : ToolsGuiTextRightProfile)
|
||||
{
|
||||
fontType = "Arial Bold";
|
||||
fontSize = 16;
|
||||
fontType = $Gui::fontTypeBold;
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiTextCenterProfile ) )
|
||||
|
|
@ -261,6 +297,7 @@ new GuiControlProfile (ToolsGuiTextCenterProfile : ToolsGuiTextProfile)
|
|||
if( !isObject( ToolsGuiInspectorTitleTextProfile ) )
|
||||
new GuiControlProfile (ToolsGuiInspectorTitleTextProfile)
|
||||
{
|
||||
fontType = $Gui::fontTypeBold;
|
||||
fontColor = EditorSettings.value("Theme/headerTextColor");
|
||||
category = "Tools";
|
||||
};
|
||||
|
|
@ -268,6 +305,8 @@ new GuiControlProfile (ToolsGuiInspectorTitleTextProfile)
|
|||
if( !isObject( ToolsGuiAutoSizeTextProfile ) )
|
||||
new GuiControlProfile (ToolsGuiAutoSizeTextProfile)
|
||||
{
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fontColor = "215 215 215";
|
||||
autoSizeWidth = true;
|
||||
autoSizeHeight = true;
|
||||
|
|
@ -277,6 +316,8 @@ new GuiControlProfile (ToolsGuiAutoSizeTextProfile)
|
|||
if( !isObject( ToolsGuiMLTextProfile ) )
|
||||
new GuiControlProfile( ToolsGuiMLTextProfile )
|
||||
{
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
|
||||
|
|
@ -324,12 +365,13 @@ new GuiControlProfile( ToolsGuiTextEditProfile )
|
|||
hasBitmapArray = true;
|
||||
border = -2; // fix to display textEdit img
|
||||
//borderWidth = "1"; // fix to display textEdit img
|
||||
//borderColor = "100 100 100";
|
||||
fillColor = EditorSettings.value("Theme/dividerDarkColor");
|
||||
borderColor = " 38 38 38 255";
|
||||
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
||||
fillColorHL = "75 75 75 255";
|
||||
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
||||
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
||||
//fontColorSEL = EditorSettings.value("Theme/dividerMidColor");
|
||||
|
|
@ -370,8 +412,8 @@ new GuiControlProfile( ToolsGuiRLProgressBitmapProfile )
|
|||
if( !isObject( ToolsGuiProgressTextProfile ) )
|
||||
new GuiControlProfile( ToolsGuiProgressTextProfile )
|
||||
{
|
||||
fontSize = "14";
|
||||
fontType = "Arial";
|
||||
fontSize = $GUI::fontSize[18];
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontColor = "215 215 215";
|
||||
justify = "center";
|
||||
category = "Tools";
|
||||
|
|
@ -395,6 +437,61 @@ new GuiControlProfile( ToolsGuiButtonProfile )
|
|||
canKeyFocus = false;
|
||||
hasBitmapArray = false;
|
||||
category = "Tools";
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiButtonGreenProfile ) )
|
||||
new GuiControlProfile( ToolsGuiButtonGreenProfile : ToolsGuiButtonProfile )
|
||||
{
|
||||
fillColor = "88 212 88";
|
||||
fillColorHL = "128 212 128";
|
||||
fontColor = "0 0 0";
|
||||
fontColorHL = "22 22 22";
|
||||
fontType = $Gui::fontTypeBold;
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiButtonRedProfile ) )
|
||||
new GuiControlProfile( ToolsGuiButtonRedProfile : ToolsGuiButtonProfile )
|
||||
{
|
||||
fillColor = "194 64 64";
|
||||
fillColorHL = "201 101 101";
|
||||
fontColor = "220 220 220";
|
||||
fontColorHL = "255 255 255";
|
||||
fontType = $Gui::fontTypeBold;
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiButtonHLRedProfile ) )
|
||||
new GuiControlProfile( ToolsGuiButtonHLRedProfile : ToolsGuiButtonProfile )
|
||||
{
|
||||
fillColorHL = "194 64 64";
|
||||
fontColorHL = "255 255 255";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiButtonHLYellowProfile ) )
|
||||
new GuiControlProfile( ToolsGuiButtonHLYellowProfile : ToolsGuiButtonProfile )
|
||||
{
|
||||
fillColorHL = "240 192 64";
|
||||
fontColorHL = "0 0 0";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiButtonActiveProfile ) )
|
||||
new GuiControlProfile( ToolsGuiButtonActiveProfile : ToolsGuiButtonProfile )
|
||||
{
|
||||
fillColor = "22 22 22";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiButtonLTextProfile ) )
|
||||
new GuiControlProfile( ToolsGuiButtonLTextProfile : ToolsGuiButtonProfile )
|
||||
{
|
||||
fontSize = $GUI::fontSize[18];
|
||||
fontType = $Gui::fontTypeBold;
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiButtonSTextProfile ) )
|
||||
new GuiControlProfile( ToolsGuiButtonSTextProfile : ToolsGuiButtonProfile )
|
||||
{
|
||||
fontSize = $GUI::fontSize[14];
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiThumbHighlightButtonProfile ) )
|
||||
|
|
@ -425,11 +522,24 @@ new GuiControlProfile( ToolsGuiIconButtonSmallProfile : ToolsGuiIconButtonProfil
|
|||
{
|
||||
bitmapAsset = "ToolsModule:iconbuttonsmall_image";
|
||||
category = "Tools";
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiIconButtonLargeProfile ) )
|
||||
new GuiControlProfile( ToolsGuiIconButtonLargeProfile : ToolsGuiIconButtonProfile )
|
||||
{
|
||||
bitmapAsset = "ToolsModule:iconbuttonlarge_image";
|
||||
category = "Tools";
|
||||
fontSize = $GUI::fontSize[18];
|
||||
fontType = $Gui::fontTypeMedium;
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiEditorTabPage ) )
|
||||
new GuiControlProfile(ToolsGuiEditorTabPage)
|
||||
{
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
opaque = true;
|
||||
border = false;
|
||||
fillColor = EditorSettings.value("Theme/tabsColor");
|
||||
|
|
@ -444,14 +554,35 @@ new GuiControlProfile(ToolsGuiEditorTabPage)
|
|||
category = "Tools";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiEditorTabButton ) )
|
||||
new GuiControlProfile(ToolsGuiEditorTabButton)
|
||||
{
|
||||
fontType = $Gui::fontTypeMedium;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
opaque = true;
|
||||
border = false;
|
||||
fillColor = EditorSettings.value("Theme/tabsColor");
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fontColorNA = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
||||
fixedExtent = false;
|
||||
justify = "center";
|
||||
canKeyFocus = false;
|
||||
bitmapAsset = "ToolsModule:buttontab_image";
|
||||
hasBitmapArray = true;
|
||||
category = "Tools";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiCheckBoxProfile ) )
|
||||
new GuiControlProfile( ToolsGuiCheckBoxProfile )
|
||||
{
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
opaque = false;
|
||||
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
||||
border = false;
|
||||
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
||||
fontSize = 14;
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
||||
|
|
@ -462,6 +593,24 @@ new GuiControlProfile( ToolsGuiCheckBoxProfile )
|
|||
category = "Tools";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiCheckBoxErrorProfile ) )
|
||||
new GuiControlProfile( ToolsGuiCheckBoxErrorProfile : ToolsGuiCheckBoxProfile)
|
||||
{
|
||||
fontColor = "240 64 64";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiCheckBoxWarnProfile ) )
|
||||
new GuiControlProfile( ToolsGuiCheckBoxWarnProfile : ToolsGuiCheckBoxProfile)
|
||||
{
|
||||
fontColor = "240 192 64";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiCheckBoxMsgProfile ) )
|
||||
new GuiControlProfile( ToolsGuiCheckBoxMsgProfile : ToolsGuiCheckBoxProfile)
|
||||
{
|
||||
fontColor = "240 240 240";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiCheckBoxListProfile ) )
|
||||
new GuiControlProfile( ToolsGuiCheckBoxListProfile : ToolsGuiCheckBoxProfile)
|
||||
{
|
||||
|
|
@ -480,12 +629,14 @@ if( !isObject( ToolsGuiInspectorCheckBoxTitleProfile ) )
|
|||
new GuiControlProfile( ToolsGuiInspectorCheckBoxTitleProfile : ToolsGuiCheckBoxProfile ){
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
category = "Tools";
|
||||
fontType = $Gui::fontTypeBold;
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiRadioProfile ) )
|
||||
new GuiControlProfile( ToolsGuiRadioProfile )
|
||||
{
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
|
|
@ -495,6 +646,51 @@ new GuiControlProfile( ToolsGuiRadioProfile )
|
|||
category = "Tools";
|
||||
};
|
||||
|
||||
// Red
|
||||
if( !isObject( ToolsGuiRadioRedProfile ) )
|
||||
new GuiControlProfile( ToolsGuiRadioRedProfile )
|
||||
{
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fixedExtent = true;
|
||||
bitmapAsset = "ToolsModule:radioButton_red_image";
|
||||
hasBitmapArray = true;
|
||||
category = "Tools";
|
||||
};
|
||||
|
||||
// Green
|
||||
if( !isObject( ToolsGuiRadioGreenProfile ) )
|
||||
new GuiControlProfile( ToolsGuiRadioGreenProfile )
|
||||
{
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fixedExtent = true;
|
||||
bitmapAsset = "ToolsModule:radioButton_green_image";
|
||||
hasBitmapArray = true;
|
||||
category = "Tools";
|
||||
};
|
||||
|
||||
// Blue
|
||||
if( !isObject( ToolsGuiRadioBlueProfile ) )
|
||||
new GuiControlProfile( ToolsGuiRadioBlueProfile )
|
||||
{
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fixedExtent = true;
|
||||
bitmapAsset = "ToolsModule:radioButton_blue_image";
|
||||
hasBitmapArray = true;
|
||||
category = "Tools";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiScrollProfile ) )
|
||||
new GuiControlProfile( ToolsGuiScrollProfile )
|
||||
{
|
||||
|
|
@ -551,6 +747,8 @@ new GuiControlProfile( ToolsGuiPopupMenuItemBorder : ToolsGuiButtonProfile )
|
|||
if( !isObject( ToolsGuiPopUpMenuDefault ) )
|
||||
new GuiControlProfile( ToolsGuiPopUpMenuDefault : ToolsGuiDefaultProfile )
|
||||
{
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
opaque = true;
|
||||
mouseOverSelected = true;
|
||||
textOffset = "3 3";
|
||||
|
|
@ -577,36 +775,36 @@ new GuiControlProfile( ToolsGuiPopUpMenuDefault : ToolsGuiDefaultProfile )
|
|||
if( !isObject( ToolsGuiPopUpMenuProfile ) )
|
||||
new GuiControlProfile( ToolsGuiPopUpMenuProfile : ToolsGuiPopUpMenuDefault )
|
||||
{
|
||||
textOffset = "6 4";
|
||||
bitmapAsset = "ToolsModule:dropDown_image";
|
||||
textOffset = "6 3";
|
||||
bitmapAsset = "ToolsModule:dropDown_image";
|
||||
hasBitmapArray = true;
|
||||
border = 1;
|
||||
profileForChildren = ToolsGuiPopUpMenuDefault;
|
||||
category = "Tools";
|
||||
category = "Tools";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiPopUpMenuTabProfile ) )
|
||||
new GuiControlProfile( ToolsGuiPopUpMenuTabProfile : ToolsGuiPopUpMenuDefault )
|
||||
{
|
||||
bitmapAsset = "ToolsModule:dropDown_tab_image";
|
||||
textOffset = "6 4";
|
||||
bitmapAsset = "ToolsModule:dropDown_tab_image";
|
||||
textOffset = "6 3";
|
||||
canKeyFocus = true;
|
||||
hasBitmapArray = true;
|
||||
border = 1;
|
||||
profileForChildren = ToolsGuiPopUpMenuDefault;
|
||||
category = "Tools";
|
||||
category = "Tools";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiPopUpMenuEditProfile ) )
|
||||
new GuiControlProfile( ToolsGuiPopUpMenuEditProfile : ToolsGuiPopUpMenuDefault )
|
||||
{
|
||||
textOffset = "6 4";
|
||||
textOffset = "6 3";
|
||||
canKeyFocus = true;
|
||||
bitmapAsset = "ToolsModule:dropDown_image";
|
||||
bitmapAsset = "ToolsModule:dropDown_image";
|
||||
hasBitmapArray = true;
|
||||
border = 1;
|
||||
profileForChildren = ToolsGuiPopUpMenuDefault;
|
||||
category = "Tools";
|
||||
category = "Tools";
|
||||
};
|
||||
|
||||
if( !isObject( ToolsGuiListBoxProfile ) )
|
||||
|
|
@ -618,6 +816,9 @@ new GuiControlProfile( ToolsGuiListBoxProfile )
|
|||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
||||
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[18];
|
||||
|
||||
tab = true;
|
||||
canKeyFocus = true;
|
||||
category = "Tools";
|
||||
|
|
@ -631,15 +832,15 @@ new GuiControlProfile( ToolsGuiTabBookProfile )
|
|||
fontColor = EditorSettings.value("Theme/headerTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
justify = "center";
|
||||
bitmapAsset = "ToolsModule:tab_image";
|
||||
tabWidth = 65;
|
||||
tabHeight = 25;
|
||||
tabPosition = "Top";
|
||||
tabRotation = "Horizontal";
|
||||
textOffset = "10 0";
|
||||
textOffset = "10 1";
|
||||
tab = true;
|
||||
cankeyfocus = true;
|
||||
category = "Tools";
|
||||
|
|
@ -655,8 +856,8 @@ new GuiControlProfile( ToolsGuiTabBookNoBitmapProfile : ToolsGuiTabBookProfile )
|
|||
if( !isObject( ToolsGuiTabPageProfile ) )
|
||||
new GuiControlProfile( ToolsGuiTabPageProfile : ToolsGuiDefaultProfile )
|
||||
{
|
||||
fontType = "Arial";
|
||||
fontSize = 10;
|
||||
fontType = $Gui::fontTypeBold;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
justify = "center";
|
||||
bitmapAsset = "ToolsModule:tab_image";
|
||||
opaque = false;
|
||||
|
|
@ -680,7 +881,8 @@ new GuiControlProfile( ToolsGuiTreeViewProfile )
|
|||
fontColorNA = "150 150 150";
|
||||
borderColor = "34 34 34";
|
||||
borderColorHL = "34 34 34";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
opaque = false;
|
||||
border = false;
|
||||
category = "Tools";
|
||||
|
|
@ -691,8 +893,8 @@ new GuiControlProfile( ToolsGuiTreeViewProfile )
|
|||
if( !isObject( ToolsGuiTextPadProfile ) )
|
||||
new GuiControlProfile( ToolsGuiTextPadProfile )
|
||||
{
|
||||
fontType = ($platform $= "macos") ? "Monaco" : "Lucida Console";
|
||||
fontSize = ($platform $= "macos") ? 13 : 12;
|
||||
fontType = $Gui::fontTypeMono;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
tab = true;
|
||||
canKeyFocus = true;
|
||||
|
||||
|
|
@ -732,8 +934,8 @@ singleton GuiControlProfile( GuiBackFillProfile )
|
|||
fillColor = "0 94 94";
|
||||
border = true;
|
||||
borderColor = "255 128 128";
|
||||
fontType = "Arial";
|
||||
fontSize = 12;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
fontColor = "215 215 215";
|
||||
fontColorHL = "50 50 50";
|
||||
fixedExtent = true;
|
||||
|
|
@ -800,8 +1002,8 @@ singleton GuiControlProfile( GuiInspectorTextEditProfile )
|
|||
canKeyFocus = true;
|
||||
|
||||
// font
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
||||
|
|
@ -823,8 +1025,7 @@ singleton GuiControlProfile( GuiInspectorTextEditRightProfile : GuiInspectorText
|
|||
//Scene Tree GUI Inspector Dropdown menus
|
||||
singleton GuiControlProfile( GuiInspectorGroupProfile )
|
||||
{
|
||||
fontType = "Arial";
|
||||
fontSize = "14";
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
|
|
@ -860,8 +1061,8 @@ singleton GuiControlProfile( GuiInspectorFieldProfile)
|
|||
//bevelColorLL = "0 0 0";
|
||||
|
||||
// font
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
|
|
@ -901,8 +1102,8 @@ singleton GuiControlProfile( GuiInspectorDynamicFieldProfile : GuiInspectorField
|
|||
canKeyFocus = true;
|
||||
|
||||
// font
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
|
||||
fontColor = EditorSettings.value("Theme/headerTextColor");
|
||||
fontColorSEL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
|
|
@ -930,12 +1131,12 @@ singleton GuiControlProfile( GuiRolloutProfile )
|
|||
singleton GuiControlProfile( GuiInspectorRolloutProfile0 )
|
||||
{
|
||||
// font
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
|
||||
fontColor = "32 32 32";
|
||||
fontColorHL = "32 100 100";
|
||||
fontColorNA = "215 215 215";
|
||||
fontColor = "220 220 220";
|
||||
fontColorHL = "0 0 0";
|
||||
fontColorNA = "160 160 160";
|
||||
|
||||
justify = "left";
|
||||
opaque = false;
|
||||
|
|
@ -951,6 +1152,30 @@ singleton GuiControlProfile( GuiInspectorRolloutProfile0 )
|
|||
category = "Editor";
|
||||
};
|
||||
|
||||
singleton GuiControlProfile( GuiInspectorRolloutProfile1 )
|
||||
{
|
||||
// font
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
|
||||
fontColor = "200 200 200";
|
||||
fontColorHL = "0 0 0";
|
||||
fontColorNA = "160 160 160";
|
||||
|
||||
justify = "left";
|
||||
opaque = false;
|
||||
|
||||
border = false;
|
||||
borderColor = "190 190 190";
|
||||
borderColorHL = "156 156 156";
|
||||
borderColorNA = "255 64 64";
|
||||
|
||||
bitmapAsset = "ToolsModule:rollout_plusminus_header_darker_image";
|
||||
|
||||
textOffset = "30 0";
|
||||
category = "Editor";
|
||||
};
|
||||
|
||||
singleton GuiControlProfile( GuiInspectorStackProfile )
|
||||
{
|
||||
opaque = false;
|
||||
|
|
@ -1004,8 +1229,8 @@ singleton GuiControlProfile( GuiInspectorTypeFileNameProfile )
|
|||
canKeyFocus = true;
|
||||
|
||||
// font
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
|
||||
// Center text
|
||||
justify = "center";
|
||||
|
|
@ -1068,8 +1293,8 @@ singleton GuiControlProfile( GuiDirectoryTreeProfile : ToolsGuiTreeViewProfile )
|
|||
fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
|
||||
fillColorHL = EditorSettings.value("Theme/fieldBGColor");
|
||||
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
category = "Editor";
|
||||
};
|
||||
|
||||
|
|
@ -1079,8 +1304,8 @@ singleton GuiControlProfile( GuiDirectoryFileListProfile )
|
|||
fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
|
||||
fillColorHL = EditorSettings.value("Theme/fieldBGColor");
|
||||
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
fontSize = $GUI::fontSize[16];
|
||||
category = "Editor";
|
||||
};
|
||||
|
||||
|
|
@ -1132,8 +1357,8 @@ singleton GuiControlProfile( GuiCreatorIconButtonProfile )
|
|||
//tab = true;
|
||||
//canKeyFocus = true;
|
||||
|
||||
fontType = "Arial";
|
||||
fontSize = 14;
|
||||
fontType = $Gui::fontTypeBold;
|
||||
fontSize = $GUI::fontSize[18];
|
||||
|
||||
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
|
|
@ -1166,6 +1391,8 @@ singleton GuiControlProfile( ToolsGuiMenuBarProfile )
|
|||
mouseOverSelected = true;
|
||||
category = "Editor";
|
||||
bitmapAsset = "ToolsModule:checkbox_menubar_image";
|
||||
fontSize = $GUI::fontSize[18];
|
||||
fontType = $Gui::fontTypeRegular;
|
||||
};
|
||||
|
||||
singleton GuiControlProfile( ToolsMenubarProfile : ToolsGuiDefaultProfile )
|
||||
|
|
@ -1195,6 +1422,7 @@ singleton GuiControlProfile (menubarProfile)
|
|||
fontColor = EditorSettings.value("Theme/headerTextColor");
|
||||
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
||||
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
||||
fontSize = 15;
|
||||
};
|
||||
|
||||
singleton GuiControlProfile (editorMenubarProfile)
|
||||
|
|
@ -1284,4 +1512,75 @@ singleton GuiControlProfile (GuiDisabledTextEditProfile)
|
|||
tab = false;
|
||||
canKeyFocus = false;
|
||||
category = "Editor";
|
||||
};
|
||||
};
|
||||
// -----------------------------------------------------------------------------
|
||||
if(!isObject(ToolsGuiConsoleProfile))
|
||||
new GuiControlProfile(ToolsGuiConsoleProfile)
|
||||
{
|
||||
border = 0;
|
||||
borderColor = EditorSettings.value("Theme/tabsColor");
|
||||
fontType = $Gui::fontTypeMono;
|
||||
fontSize = $GUI::fontSize[12];
|
||||
fillColor = "24 24 24";
|
||||
fontColor = "240 240 240";
|
||||
fontColorHL = "240 192 64";
|
||||
fontColorNA = "240 64 64";
|
||||
fontColors[6] = "100 100 100";
|
||||
fontColors[7] = "100 100 0";
|
||||
fontColors[8] = "0 0 100";
|
||||
fontColors[9] = "0 100 0";
|
||||
category = "Tools";
|
||||
};
|
||||
if(!isObject(ToolsGuiConsoleTinyProfile))
|
||||
new GuiControlProfile(ToolsGuiConsoleTinyProfile : ToolsGuiConsoleProfile)
|
||||
{
|
||||
fontSize = $GUI::fontSize[9];
|
||||
};
|
||||
if(!isObject(ToolsGuiConsoleSmallProfile))
|
||||
new GuiControlProfile(ToolsGuiConsoleSmallProfile : ToolsGuiConsoleProfile)
|
||||
{
|
||||
fontSize = $GUI::fontSize[10];
|
||||
};
|
||||
if(!isObject(ToolsGuiConsoleMediumProfile))
|
||||
new GuiControlProfile(ToolsGuiConsoleMediumProfile : ToolsGuiConsoleProfile)
|
||||
{
|
||||
fontSize = $GUI::fontSize[14];
|
||||
};
|
||||
if(!isObject(ToolsGuiConsoleLargeProfile))
|
||||
new GuiControlProfile(ToolsGuiConsoleLargeProfile : ToolsGuiConsoleProfile)
|
||||
{
|
||||
fontSize = $GUI::fontSize[16];
|
||||
};
|
||||
if(!isObject(ToolsGuiConsoleTextProfile))
|
||||
new GuiControlProfile(ToolsGuiConsoleTextProfile)
|
||||
{
|
||||
fontColor = "0 0 0";
|
||||
autoSizeWidth = true;
|
||||
autoSizeHeight = true;
|
||||
textOffset = "2 2";
|
||||
opaque = true;
|
||||
fillColor = "255 255 255";
|
||||
border = true;
|
||||
borderThickness = 1;
|
||||
borderColor = "0 0 0";
|
||||
category = "Tools";
|
||||
};
|
||||
if(!isObject(ToolsConsoleScrollProfile))
|
||||
new GuiControlProfile(ToolsConsoleScrollProfile : ToolsGuiScrollProfile)
|
||||
{
|
||||
opaque = true;
|
||||
fillColor = "30 30 30";
|
||||
border = 1;
|
||||
borderThickness = 1;
|
||||
borderColor = "0 0 0";
|
||||
category = "Tools";
|
||||
};
|
||||
if(!isObject(ToolsConsoleTextEditProfile))
|
||||
new GuiControlProfile(ToolsConsoleTextEditProfile : ToolsGuiTextEditProfile)
|
||||
{
|
||||
fontType = $Gui::fontTypeMono;
|
||||
fontSize = $GUI::fontSize[12];
|
||||
cursorColor = "255 255 255";
|
||||
category = "Tools";
|
||||
};
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue