2017-02-24 08:40:56 +00:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
// Copyright (c) 2012 GarageGames, LLC
|
|
|
|
|
//
|
|
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
|
// of this software and associated documentation files (the "Software"), to
|
|
|
|
|
// deal in the Software without restriction, including without limitation the
|
|
|
|
|
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
|
|
|
// sell copies of the Software, and to permit persons to whom the Software is
|
|
|
|
|
// furnished to do so, subject to the following conditions:
|
|
|
|
|
//
|
|
|
|
|
// The above copyright notice and this permission notice shall be included in
|
|
|
|
|
// all copies or substantial portions of the Software.
|
|
|
|
|
//
|
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
|
|
|
// IN THE SOFTWARE.
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
function execEditorProfilesCS()
|
|
|
|
|
{
|
2021-01-07 11:01:09 +00:00
|
|
|
exec("./profiles.ed." @ $TorqueScriptFileExtension);
|
2017-02-24 08:40:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$Gui::clipboardFile = expandFilename("./clipboard.gui");
|
|
|
|
|
|
2023-09-09 03:44:18 +00:00
|
|
|
$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;
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiDefaultProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiDefaultProfile)
|
|
|
|
|
{
|
|
|
|
|
tab = false;
|
|
|
|
|
canKeyFocus = false;
|
|
|
|
|
hasBitmapArray = false;
|
|
|
|
|
mouseOverSelected = false;
|
|
|
|
|
|
|
|
|
|
// fill color
|
2019-11-06 06:23:07 +00:00
|
|
|
opaque = false;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/tabsColor");
|
Adjusted handling for the bitmap and bitmapAsset fields for guiBitmapButtonCtrl to forcefully update the button states when changed, ensuring that the bitmaps refresh when changed via the field
Added callback for onResize to guiWindowCtrl so controls - such as the EditorTree - can be properly resized in certain circumstances when the window is changed
Added getIncrement() and getRange() to GuiGameSettingsCtrl to better facilitate options manipulation on the script side
Corrected some of the console method documentation strings in GuiGameSettingsCtrl
Removed some unneeded, extraneous files and their asset definitions that came from odd import conversions. Where applicable, created cleaned up versions to make naming conventions and references stable
Fixed canvas mode update text typo: FSAA -> FXAA
Added logic to DOF, Light Rays, SSAO and Vignette postFX's to check both the preset setting AND the user preference before enabling.
Shifted initialization order so PostFX's are loaded before we configure the canvas, to ensure stuff like the FXAAPostFX exists and can be toggled on on load
Fixed multiple issues with options menu:
When using gamepad, unable to navigate from categories to options. Fixed so can now traverse as normal
Input limitations on gamepad necessitated changing of how setting applying happens, is now done as a 'apply or discard' prompt when leaving the options menu
Added proper handling for adjusting settings with gamepad with left/right inputs
Fixed issue where the unapplied change for an option was sometimes being processed as an object name rather than an implicit string. Now made to be explicit strings to avoid issue.
Made the menu button input for "Select" to go from categories to options gamepad only, and hidden when in the options list
Fixed issue where changing window mode didn't correctly affect resolution option. Now set up so changing this field correctly refreshes the resolution option. Specifically, when on borderless, the resolution field does not show, preventing confusion as it is always full resolution
Generally have the options list refresh when changes happen to allow any and all fields to be able to dynamically respond to other options having changed improving flexibility.
Cleaned up old, unused, commented out functions
Added ability on OKCancel message boxes to override the button text if needed
Fixed issue with AssetBrowser where the shrink/grow icons next to the preview size slider were not anchored correctly.
Adjusted callback logic so if preview slider is clicked on, rather than dragged, it will correctly update the zoom values
Added sorting to Modules List dropdown for the AssetBrowser
Improved standardization of double-clicking in AssetBrowser. Now defaults to editing action if regularly browsing and selecting if in select mode. Still allows regular per-type overrides as normal
Moved definition of GuiDisabledTextEditProfile to gui profiles.ed.tscript file, removed duplicates to stop error spam
Adjusted default settings value for double-click action in AB to be edit to prevent unstable behavior
Removed old file refs from Load Recent list in the default settings
2022-03-27 03:36:37 +00:00
|
|
|
fillColorHL = EditorSettings.value("Theme/tabsHLColor");
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColorSEL = EditorSettings.value("Theme/tabsSELColor");
|
|
|
|
|
fillColorNA = EditorSettings.value("Theme/tabsSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
// border color
|
|
|
|
|
border = 0;
|
2019-06-17 07:30:45 +00:00
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
|
|
|
|
borderColorHL = EditorSettings.value("Theme/dividerMidColor");
|
|
|
|
|
borderColorNA = EditorSettings.value("Theme/dividerLightColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
// font
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
fontCharset = ANSI;
|
|
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
|
|
|
|
fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
// bitmap information
|
2021-08-02 09:20:27 +00:00
|
|
|
bitmapAsset = "";
|
2017-02-24 08:40:56 +00:00
|
|
|
bitmapBase = "";
|
|
|
|
|
textOffset = "0 0";
|
|
|
|
|
|
|
|
|
|
// used by guiTextControl
|
|
|
|
|
modal = true;
|
|
|
|
|
justify = "left";
|
|
|
|
|
autoSizeWidth = false;
|
|
|
|
|
autoSizeHeight = false;
|
|
|
|
|
returnTab = false;
|
|
|
|
|
numbersOnly = false;
|
2019-05-09 05:11:49 +00:00
|
|
|
cursorColor = "215 215 215 255";
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
// sounds
|
|
|
|
|
//soundButtonDown = "";
|
|
|
|
|
//soundButtonOver = "";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiSolidDefaultProfile ) )
|
2019-11-06 06:23:07 +00:00
|
|
|
new GuiControlProfile (ToolsGuiSolidDefaultProfile : ToolsGuiDefaultProfile)
|
2017-02-24 08:40:56 +00:00
|
|
|
{
|
|
|
|
|
opaque = true;
|
|
|
|
|
border = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
Updated path handling for loose asset files for CPP, Image, Level, Material, PostFX, Shape, Terrain, TerrainMat and StateMachine assets to be more predictable in when and how they expando the loose file path into a full, useable path
Fixed loose file bindings for all associated slots in level asset, such as postFX file, decals, etc
Expanded TSStatic onInspect testcase to parse materialSlots and hook-in a specialized material field for editing/quick reference from the inspector
Adjusted expand behavior of guiTree to be more reliable
Added internal name 'stack' to inspectorGroup's stack child objects for easier access to add programatic fields
Removed redundant PreMult translucency type code
Added setting of feature so probes work when in forward/basic lit mode
Corrected indexing error in SQLiteObject class so it properly parses with the updated console API
Tweaked the FOV setting logic in GameConnection::onControlObjectChange to not be spammy
Fixed var when trying to bind the camera to the client
Added project setting field to dictate the default render mode between Forward or Deferred
Integrated MotionBlur PostFX into updated PostFX Editor paradigm and exposed the samples uniform as an editable field
Integrated DOF PostFX into updated PostFX Editor paradigm
Updated setting group name for vignette postFX
Shifted shaderCache to be in data/cache along with other cached files
Added helper function to replace strings in a file
Fixed ExampleCppObject asset to have correct loose file references
Adjusted editor default level logic so it can be modifed and then stored, as well as reset back to the original default
Fixed verve reference to root scene group
Adjusted location of a nonmodal gui profile so it loads at the correct time
Reorganized AssetBrowser loading and refresh logic so it doesn't stack multiple refresh requests back-to-back causing lag
Updated the search behavior to search not just the current address, but all child folders as well, making it far more useful
Initial work into zip and folder drag-and-drop asset importing support
Removed the import config setting for 'always display material maps' as it is redundant with the new importer context menu actions
Updated example asset type file
Ensured all asset types have proper handling for move, rename and delete actions
Fixed double-click behavior on folders in the AB
Fixed CPP asset preview
Added better logic to discern if a top-level folder belongs to a module or not in the AB directory browser
Added ability to convert a non-module top-level folder in the AB into a module
Added initial hooks for being able to generate a new Editor Tool, similar to how the AB can generate modules
Renamed CPP asset template files to have the .template so they aren't accidentally picked up by cmake
Fixed convex editor's material handling to work with AB and reference back properly
Updated AB images for folder up/down navigation buttons, and the breadcrumb divider arrow
Made PostFX Editor properly allow for input pass-through so you can still edit the level with it open
Added some additional common text gui profiles
Disabled calls to old editor settings logic in various editors to remove spam
Added callOnModules call so tools can initialize properly when the world editor is opened
Fixed logic test for visualizers
Added ability for cmake to scan tools directory for any tools that add source files
2020-02-04 07:47:28 +00:00
|
|
|
if( !isObject( ToolsGuiDefaultNonModalProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiDefaultNonModalProfile : ToolsGuiDefaultProfile)
|
|
|
|
|
{
|
|
|
|
|
opaque = false;
|
|
|
|
|
modal = false;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
if( !isObject( ToolsGuiTransparentProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiTransparentProfile)
|
|
|
|
|
{
|
|
|
|
|
opaque = false;
|
|
|
|
|
border = false;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiGroupBorderProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiGroupBorderProfile )
|
|
|
|
|
{
|
|
|
|
|
border = false;
|
|
|
|
|
opaque = false;
|
|
|
|
|
hasBitmapArray = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:group_border_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTabBorderProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiTabBorderProfile )
|
|
|
|
|
{
|
|
|
|
|
border = false;
|
|
|
|
|
opaque = false;
|
|
|
|
|
hasBitmapArray = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:tab_border_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
2023-09-09 03:44:18 +00:00
|
|
|
if( !isObject( ToolsGuiDefaultIconBtnProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiDefaultIconBtnProfile : ToolsGuiDefaultProfile)
|
|
|
|
|
{
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
|
|
|
|
};
|
|
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
if( !isObject( ToolsGuiToolTipProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiToolTipProfile)
|
|
|
|
|
{
|
|
|
|
|
// fill color
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/tooltipBGColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
// border color
|
2019-06-17 07:30:45 +00:00
|
|
|
borderColor = EditorSettings.value("Theme/tooltipDivColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
// font
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[18];
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/tooltipTextColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiModelessDialogProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiModelessDialogProfile )
|
|
|
|
|
{
|
|
|
|
|
modal = false;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiFrameSetProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiFrameSetProfile)
|
|
|
|
|
{
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
2023-09-09 03:44:18 +00:00
|
|
|
borderColor = "64 64 64";
|
2017-02-24 08:40:56 +00:00
|
|
|
border = 1;
|
|
|
|
|
opaque = true;
|
|
|
|
|
border = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiWindowProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiWindowProfile)
|
|
|
|
|
{
|
|
|
|
|
opaque = false;
|
2019-05-09 05:11:49 +00:00
|
|
|
border = 1;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/tabsColor");
|
2021-10-29 04:52:58 +00:00
|
|
|
fillColorHL = EditorSettings.value("Theme/tabsHLColor");
|
|
|
|
|
fillColorSEL = EditorSettings.value("Theme/tabsSELColor");
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColorNA = EditorSettings.value("Theme/tabsColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/headerTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/headerTextColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
bevelColorHL = "255 255 255";
|
|
|
|
|
bevelColorLL = "0 0 0";
|
|
|
|
|
text = "untitled";
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:window_image";
|
2023-09-09 03:44:18 +00:00
|
|
|
textOffset = "10 0";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
justify = "left";
|
|
|
|
|
category = "Tools";
|
2023-09-09 03:44:18 +00:00
|
|
|
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];
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiToolbarWindowProfile ) )
|
|
|
|
|
new GuiControlProfile(ToolsGuiToolbarWindowProfile : ToolsGuiWindowProfile)
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:toolbar_window_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
text = "";
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiWindowCollapseProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiWindowCollapseProfile : ToolsGuiWindowProfile)
|
|
|
|
|
{
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTextProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiTextProfile)
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2019-06-17 07:30:45 +00:00
|
|
|
opaque = true;
|
2017-02-24 08:40:56 +00:00
|
|
|
justify = "left";
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/headerTextColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
Updated path handling for loose asset files for CPP, Image, Level, Material, PostFX, Shape, Terrain, TerrainMat and StateMachine assets to be more predictable in when and how they expando the loose file path into a full, useable path
Fixed loose file bindings for all associated slots in level asset, such as postFX file, decals, etc
Expanded TSStatic onInspect testcase to parse materialSlots and hook-in a specialized material field for editing/quick reference from the inspector
Adjusted expand behavior of guiTree to be more reliable
Added internal name 'stack' to inspectorGroup's stack child objects for easier access to add programatic fields
Removed redundant PreMult translucency type code
Added setting of feature so probes work when in forward/basic lit mode
Corrected indexing error in SQLiteObject class so it properly parses with the updated console API
Tweaked the FOV setting logic in GameConnection::onControlObjectChange to not be spammy
Fixed var when trying to bind the camera to the client
Added project setting field to dictate the default render mode between Forward or Deferred
Integrated MotionBlur PostFX into updated PostFX Editor paradigm and exposed the samples uniform as an editable field
Integrated DOF PostFX into updated PostFX Editor paradigm
Updated setting group name for vignette postFX
Shifted shaderCache to be in data/cache along with other cached files
Added helper function to replace strings in a file
Fixed ExampleCppObject asset to have correct loose file references
Adjusted editor default level logic so it can be modifed and then stored, as well as reset back to the original default
Fixed verve reference to root scene group
Adjusted location of a nonmodal gui profile so it loads at the correct time
Reorganized AssetBrowser loading and refresh logic so it doesn't stack multiple refresh requests back-to-back causing lag
Updated the search behavior to search not just the current address, but all child folders as well, making it far more useful
Initial work into zip and folder drag-and-drop asset importing support
Removed the import config setting for 'always display material maps' as it is redundant with the new importer context menu actions
Updated example asset type file
Ensured all asset types have proper handling for move, rename and delete actions
Fixed double-click behavior on folders in the AB
Fixed CPP asset preview
Added better logic to discern if a top-level folder belongs to a module or not in the AB directory browser
Added ability to convert a non-module top-level folder in the AB into a module
Added initial hooks for being able to generate a new Editor Tool, similar to how the AB can generate modules
Renamed CPP asset template files to have the .template so they aren't accidentally picked up by cmake
Fixed convex editor's material handling to work with AB and reference back properly
Updated AB images for folder up/down navigation buttons, and the breadcrumb divider arrow
Made PostFX Editor properly allow for input pass-through so you can still edit the level with it open
Added some additional common text gui profiles
Disabled calls to old editor settings logic in various editors to remove spam
Added callOnModules call so tools can initialize properly when the world editor is opened
Fixed logic test for visualizers
Added ability for cmake to scan tools directory for any tools that add source files
2020-02-04 07:47:28 +00:00
|
|
|
if( !isObject( ToolsGuiTextBoldProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiTextBoldProfile : ToolsGuiTextProfile)
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeBold;
|
Updated path handling for loose asset files for CPP, Image, Level, Material, PostFX, Shape, Terrain, TerrainMat and StateMachine assets to be more predictable in when and how they expando the loose file path into a full, useable path
Fixed loose file bindings for all associated slots in level asset, such as postFX file, decals, etc
Expanded TSStatic onInspect testcase to parse materialSlots and hook-in a specialized material field for editing/quick reference from the inspector
Adjusted expand behavior of guiTree to be more reliable
Added internal name 'stack' to inspectorGroup's stack child objects for easier access to add programatic fields
Removed redundant PreMult translucency type code
Added setting of feature so probes work when in forward/basic lit mode
Corrected indexing error in SQLiteObject class so it properly parses with the updated console API
Tweaked the FOV setting logic in GameConnection::onControlObjectChange to not be spammy
Fixed var when trying to bind the camera to the client
Added project setting field to dictate the default render mode between Forward or Deferred
Integrated MotionBlur PostFX into updated PostFX Editor paradigm and exposed the samples uniform as an editable field
Integrated DOF PostFX into updated PostFX Editor paradigm
Updated setting group name for vignette postFX
Shifted shaderCache to be in data/cache along with other cached files
Added helper function to replace strings in a file
Fixed ExampleCppObject asset to have correct loose file references
Adjusted editor default level logic so it can be modifed and then stored, as well as reset back to the original default
Fixed verve reference to root scene group
Adjusted location of a nonmodal gui profile so it loads at the correct time
Reorganized AssetBrowser loading and refresh logic so it doesn't stack multiple refresh requests back-to-back causing lag
Updated the search behavior to search not just the current address, but all child folders as well, making it far more useful
Initial work into zip and folder drag-and-drop asset importing support
Removed the import config setting for 'always display material maps' as it is redundant with the new importer context menu actions
Updated example asset type file
Ensured all asset types have proper handling for move, rename and delete actions
Fixed double-click behavior on folders in the AB
Fixed CPP asset preview
Added better logic to discern if a top-level folder belongs to a module or not in the AB directory browser
Added ability to convert a non-module top-level folder in the AB into a module
Added initial hooks for being able to generate a new Editor Tool, similar to how the AB can generate modules
Renamed CPP asset template files to have the .template so they aren't accidentally picked up by cmake
Fixed convex editor's material handling to work with AB and reference back properly
Updated AB images for folder up/down navigation buttons, and the breadcrumb divider arrow
Made PostFX Editor properly allow for input pass-through so you can still edit the level with it open
Added some additional common text gui profiles
Disabled calls to old editor settings logic in various editors to remove spam
Added callOnModules call so tools can initialize properly when the world editor is opened
Fixed logic test for visualizers
Added ability for cmake to scan tools directory for any tools that add source files
2020-02-04 07:47:28 +00:00
|
|
|
};
|
|
|
|
|
|
2023-06-10 16:00:09 +00:00
|
|
|
if( !isObject( ToolsGuiXDimensionText ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiXDimensionText : ToolsGuiTextBoldProfile)
|
|
|
|
|
{
|
|
|
|
|
fillColor = "255 129 123 120";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiYDimensionText ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiYDimensionText : ToolsGuiTextBoldProfile)
|
|
|
|
|
{
|
|
|
|
|
fillColor = "129 255 123 120";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiZDimensionText ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiZDimensionText : ToolsGuiTextBoldProfile)
|
|
|
|
|
{
|
|
|
|
|
fillColor = "123 129 255 120";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
if( !isObject( ToolsGuiTextBoldCenterProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiTextBoldCenterProfile : ToolsGuiTextProfile)
|
|
|
|
|
{
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/headerTextColor");
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeBold;
|
2017-02-24 08:40:56 +00:00
|
|
|
justify = "center";
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTextRightProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiTextRightProfile : ToolsGuiTextProfile)
|
|
|
|
|
{
|
|
|
|
|
justify = "right";
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
Updated path handling for loose asset files for CPP, Image, Level, Material, PostFX, Shape, Terrain, TerrainMat and StateMachine assets to be more predictable in when and how they expando the loose file path into a full, useable path
Fixed loose file bindings for all associated slots in level asset, such as postFX file, decals, etc
Expanded TSStatic onInspect testcase to parse materialSlots and hook-in a specialized material field for editing/quick reference from the inspector
Adjusted expand behavior of guiTree to be more reliable
Added internal name 'stack' to inspectorGroup's stack child objects for easier access to add programatic fields
Removed redundant PreMult translucency type code
Added setting of feature so probes work when in forward/basic lit mode
Corrected indexing error in SQLiteObject class so it properly parses with the updated console API
Tweaked the FOV setting logic in GameConnection::onControlObjectChange to not be spammy
Fixed var when trying to bind the camera to the client
Added project setting field to dictate the default render mode between Forward or Deferred
Integrated MotionBlur PostFX into updated PostFX Editor paradigm and exposed the samples uniform as an editable field
Integrated DOF PostFX into updated PostFX Editor paradigm
Updated setting group name for vignette postFX
Shifted shaderCache to be in data/cache along with other cached files
Added helper function to replace strings in a file
Fixed ExampleCppObject asset to have correct loose file references
Adjusted editor default level logic so it can be modifed and then stored, as well as reset back to the original default
Fixed verve reference to root scene group
Adjusted location of a nonmodal gui profile so it loads at the correct time
Reorganized AssetBrowser loading and refresh logic so it doesn't stack multiple refresh requests back-to-back causing lag
Updated the search behavior to search not just the current address, but all child folders as well, making it far more useful
Initial work into zip and folder drag-and-drop asset importing support
Removed the import config setting for 'always display material maps' as it is redundant with the new importer context menu actions
Updated example asset type file
Ensured all asset types have proper handling for move, rename and delete actions
Fixed double-click behavior on folders in the AB
Fixed CPP asset preview
Added better logic to discern if a top-level folder belongs to a module or not in the AB directory browser
Added ability to convert a non-module top-level folder in the AB into a module
Added initial hooks for being able to generate a new Editor Tool, similar to how the AB can generate modules
Renamed CPP asset template files to have the .template so they aren't accidentally picked up by cmake
Fixed convex editor's material handling to work with AB and reference back properly
Updated AB images for folder up/down navigation buttons, and the breadcrumb divider arrow
Made PostFX Editor properly allow for input pass-through so you can still edit the level with it open
Added some additional common text gui profiles
Disabled calls to old editor settings logic in various editors to remove spam
Added callOnModules call so tools can initialize properly when the world editor is opened
Fixed logic test for visualizers
Added ability for cmake to scan tools directory for any tools that add source files
2020-02-04 07:47:28 +00:00
|
|
|
if( !isObject( ToolsGuiTextBoldRightProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiTextBoldRightProfile : ToolsGuiTextRightProfile)
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeBold;
|
Updated path handling for loose asset files for CPP, Image, Level, Material, PostFX, Shape, Terrain, TerrainMat and StateMachine assets to be more predictable in when and how they expando the loose file path into a full, useable path
Fixed loose file bindings for all associated slots in level asset, such as postFX file, decals, etc
Expanded TSStatic onInspect testcase to parse materialSlots and hook-in a specialized material field for editing/quick reference from the inspector
Adjusted expand behavior of guiTree to be more reliable
Added internal name 'stack' to inspectorGroup's stack child objects for easier access to add programatic fields
Removed redundant PreMult translucency type code
Added setting of feature so probes work when in forward/basic lit mode
Corrected indexing error in SQLiteObject class so it properly parses with the updated console API
Tweaked the FOV setting logic in GameConnection::onControlObjectChange to not be spammy
Fixed var when trying to bind the camera to the client
Added project setting field to dictate the default render mode between Forward or Deferred
Integrated MotionBlur PostFX into updated PostFX Editor paradigm and exposed the samples uniform as an editable field
Integrated DOF PostFX into updated PostFX Editor paradigm
Updated setting group name for vignette postFX
Shifted shaderCache to be in data/cache along with other cached files
Added helper function to replace strings in a file
Fixed ExampleCppObject asset to have correct loose file references
Adjusted editor default level logic so it can be modifed and then stored, as well as reset back to the original default
Fixed verve reference to root scene group
Adjusted location of a nonmodal gui profile so it loads at the correct time
Reorganized AssetBrowser loading and refresh logic so it doesn't stack multiple refresh requests back-to-back causing lag
Updated the search behavior to search not just the current address, but all child folders as well, making it far more useful
Initial work into zip and folder drag-and-drop asset importing support
Removed the import config setting for 'always display material maps' as it is redundant with the new importer context menu actions
Updated example asset type file
Ensured all asset types have proper handling for move, rename and delete actions
Fixed double-click behavior on folders in the AB
Fixed CPP asset preview
Added better logic to discern if a top-level folder belongs to a module or not in the AB directory browser
Added ability to convert a non-module top-level folder in the AB into a module
Added initial hooks for being able to generate a new Editor Tool, similar to how the AB can generate modules
Renamed CPP asset template files to have the .template so they aren't accidentally picked up by cmake
Fixed convex editor's material handling to work with AB and reference back properly
Updated AB images for folder up/down navigation buttons, and the breadcrumb divider arrow
Made PostFX Editor properly allow for input pass-through so you can still edit the level with it open
Added some additional common text gui profiles
Disabled calls to old editor settings logic in various editors to remove spam
Added callOnModules call so tools can initialize properly when the world editor is opened
Fixed logic test for visualizers
Added ability for cmake to scan tools directory for any tools that add source files
2020-02-04 07:47:28 +00:00
|
|
|
};
|
|
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
if( !isObject( ToolsGuiTextCenterProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiTextCenterProfile : ToolsGuiTextProfile)
|
|
|
|
|
{
|
|
|
|
|
justify = "center";
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiInspectorTitleTextProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiInspectorTitleTextProfile)
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeBold;
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/headerTextColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiAutoSizeTextProfile ) )
|
|
|
|
|
new GuiControlProfile (ToolsGuiAutoSizeTextProfile)
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2019-05-09 05:11:49 +00:00
|
|
|
fontColor = "215 215 215";
|
2017-02-24 08:40:56 +00:00
|
|
|
autoSizeWidth = true;
|
|
|
|
|
autoSizeHeight = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiMLTextProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiMLTextProfile )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2019-11-18 09:30:04 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
|
|
|
|
|
|
|
|
|
|
fontColorLink = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorLinkHL = EditorSettings.value("Theme/fieldTextHLColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
autoSizeWidth = true;
|
|
|
|
|
autoSizeHeight = true;
|
|
|
|
|
border = false;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTextArrayProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiTextArrayProfile : ToolsGuiTextProfile )
|
|
|
|
|
{
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
|
|
|
|
|
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
|
|
|
|
fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
|
|
|
|
|
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
border = false;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTextListProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiTextListProfile : ToolsGuiTextProfile )
|
|
|
|
|
{
|
2022-04-23 21:07:36 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
|
|
|
|
|
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
|
|
|
|
fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
|
|
|
|
|
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
tab = true;
|
|
|
|
|
canKeyFocus = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTextEditProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiTextEditProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:textEditFrame_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
border = -2; // fix to display textEdit img
|
|
|
|
|
//borderWidth = "1"; // fix to display textEdit img
|
2023-09-09 03:44:18 +00:00
|
|
|
borderColor = " 38 38 38 255";
|
|
|
|
|
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
2022-09-21 00:59:05 +00:00
|
|
|
fillColorHL = "75 75 75 255";
|
2019-09-29 11:44:43 +00:00
|
|
|
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
|
|
|
|
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
2022-09-21 00:59:05 +00:00
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
|
|
|
|
//fontColorSEL = EditorSettings.value("Theme/dividerMidColor");
|
2019-11-19 03:42:55 +00:00
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextSELColor");
|
2020-07-11 21:49:06 +00:00
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextNAColor");
|
2019-05-04 16:49:42 +00:00
|
|
|
textOffset = "4 2";
|
|
|
|
|
autoSizeWidth = false;
|
|
|
|
|
autoSizeHeight = true;
|
|
|
|
|
justify = "left";
|
|
|
|
|
tab = true;
|
|
|
|
|
canKeyFocus = true;
|
|
|
|
|
category = "Tools";
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiNumericTextEditProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiNumericTextEditProfile : ToolsGuiTextEditProfile )
|
|
|
|
|
{
|
|
|
|
|
numbersOnly = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiNumericDropSliderTextProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiNumericDropSliderTextProfile : ToolsGuiTextEditProfile )
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:textEditSliderBox_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiRLProgressBitmapProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiRLProgressBitmapProfile )
|
|
|
|
|
{
|
|
|
|
|
border = false;
|
|
|
|
|
hasBitmapArray = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:rl_loadingbar_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiProgressTextProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiProgressTextProfile )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontSize = $GUI::fontSize[18];
|
|
|
|
|
fontType = $Gui::fontTypeRegular;
|
2019-05-09 05:11:49 +00:00
|
|
|
fontColor = "215 215 215";
|
2017-02-24 08:40:56 +00:00
|
|
|
justify = "center";
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiButtonProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiButtonProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
|
|
|
|
border = true;
|
Misc Quality of Life and Bug fixes
Added handling for if preview images on image assets fails to generate, will fallback to using the full image
Added handling for double clicking or drag-n-dropping terrain assets to create them
Improved handling of field labels in variable inspector by making the stringtable be case sensitive.
Added editor settings for handling of asset double click behavior. Can now select between Edit Asset and Spawn Asset. Support is asset type dependent.
Added editor setting for auto-importing loose files when navigating to a folder. If on and the user has flagged to also enable auto-import generally, will auto import all unaffiliated loose files in as assets.
Added editor setting for default module to use when creating new assets. Updated various tooling logic so when creating a new material, if this and the 'Always Prompt Module Target' setting is off, it will fill in the target module and target asset path info based on the default module.
Fixed issue with editors that use managedData scripts where if the path didn't exist, the script file wouldn't be made.
Fixed display issue in terrain editor where if you clear the detail map, the normal/macro/orm maps would disable, but not also clear.
Fixed handling of cleared maps in terrain editor so it no longer fills empty maps in with the no image image.
Fixed handling of creating new material where it would fill in the diffuse with a no texture image as the default.
Fixed issue where canceling out of creating a module would still prompt to create the common default folders.
Fixed issue where the Select Module window couldn't be closed via the cancel or x buttons.
Based on feedback, reduced default size of the Text Pad window.
Fixed issue where the Drop At menu list wouldn't correctly display which item was marked after it was changed.
Fixed spawning shape asset handling so it uses whatever the editor's Drop At setting is.
Improved themeing of regular bitmap buttons in the editor.
Based on feedback, flipped layout of Target Module and Target Path in the Create New Asset window.
Improved handling of setting up the Target Path for when creating new assets. If a path is not set, and the user has a Default Module, it will default the path to that module.
2021-08-28 23:51:27 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/tabsColor");
|
Adjusted handling for the bitmap and bitmapAsset fields for guiBitmapButtonCtrl to forcefully update the button states when changed, ensuring that the bitmaps refresh when changed via the field
Added callback for onResize to guiWindowCtrl so controls - such as the EditorTree - can be properly resized in certain circumstances when the window is changed
Added getIncrement() and getRange() to GuiGameSettingsCtrl to better facilitate options manipulation on the script side
Corrected some of the console method documentation strings in GuiGameSettingsCtrl
Removed some unneeded, extraneous files and their asset definitions that came from odd import conversions. Where applicable, created cleaned up versions to make naming conventions and references stable
Fixed canvas mode update text typo: FSAA -> FXAA
Added logic to DOF, Light Rays, SSAO and Vignette postFX's to check both the preset setting AND the user preference before enabling.
Shifted initialization order so PostFX's are loaded before we configure the canvas, to ensure stuff like the FXAAPostFX exists and can be toggled on on load
Fixed multiple issues with options menu:
When using gamepad, unable to navigate from categories to options. Fixed so can now traverse as normal
Input limitations on gamepad necessitated changing of how setting applying happens, is now done as a 'apply or discard' prompt when leaving the options menu
Added proper handling for adjusting settings with gamepad with left/right inputs
Fixed issue where the unapplied change for an option was sometimes being processed as an object name rather than an implicit string. Now made to be explicit strings to avoid issue.
Made the menu button input for "Select" to go from categories to options gamepad only, and hidden when in the options list
Fixed issue where changing window mode didn't correctly affect resolution option. Now set up so changing this field correctly refreshes the resolution option. Specifically, when on borderless, the resolution field does not show, preventing confusion as it is always full resolution
Generally have the options list refresh when changes happen to allow any and all fields to be able to dynamically respond to other options having changed improving flexibility.
Cleaned up old, unused, commented out functions
Added ability on OKCancel message boxes to override the button text if needed
Fixed issue with AssetBrowser where the shrink/grow icons next to the preview size slider were not anchored correctly.
Adjusted callback logic so if preview slider is clicked on, rather than dragged, it will correctly update the zoom values
Added sorting to Modules List dropdown for the AssetBrowser
Improved standardization of double-clicking in AssetBrowser. Now defaults to editing action if regularly browsing and selecting if in select mode. Still allows regular per-type overrides as normal
Moved definition of GuiDisabledTextEditProfile to gui profiles.ed.tscript file, removed duplicates to stop error spam
Adjusted default settings value for double-click action in AB to be edit to prevent unstable behavior
Removed old file refs from Load Recent list in the default settings
2022-03-27 03:36:37 +00:00
|
|
|
fillColorHL = EditorSettings.value("Theme/tabsHLColor");
|
Misc Quality of Life and Bug fixes
Added handling for if preview images on image assets fails to generate, will fallback to using the full image
Added handling for double clicking or drag-n-dropping terrain assets to create them
Improved handling of field labels in variable inspector by making the stringtable be case sensitive.
Added editor settings for handling of asset double click behavior. Can now select between Edit Asset and Spawn Asset. Support is asset type dependent.
Added editor setting for auto-importing loose files when navigating to a folder. If on and the user has flagged to also enable auto-import generally, will auto import all unaffiliated loose files in as assets.
Added editor setting for default module to use when creating new assets. Updated various tooling logic so when creating a new material, if this and the 'Always Prompt Module Target' setting is off, it will fill in the target module and target asset path info based on the default module.
Fixed issue with editors that use managedData scripts where if the path didn't exist, the script file wouldn't be made.
Fixed display issue in terrain editor where if you clear the detail map, the normal/macro/orm maps would disable, but not also clear.
Fixed handling of cleared maps in terrain editor so it no longer fills empty maps in with the no image image.
Fixed handling of creating new material where it would fill in the diffuse with a no texture image as the default.
Fixed issue where canceling out of creating a module would still prompt to create the common default folders.
Fixed issue where the Select Module window couldn't be closed via the cancel or x buttons.
Based on feedback, reduced default size of the Text Pad window.
Fixed issue where the Drop At menu list wouldn't correctly display which item was marked after it was changed.
Fixed spawning shape asset handling so it uses whatever the editor's Drop At setting is.
Improved themeing of regular bitmap buttons in the editor.
Based on feedback, flipped layout of Target Module and Target Path in the Create New Asset window.
Improved handling of setting up the Target Path for when creating new assets. If a path is not set, and the user has a Default Module, it will default the path to that module.
2021-08-28 23:51:27 +00:00
|
|
|
fillColorSEL = EditorSettings.value("Theme/tabsSELColor");
|
|
|
|
|
fillColorNA = EditorSettings.value("Theme/tabsSELColor");
|
|
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
fixedExtent = false;
|
|
|
|
|
justify = "center";
|
|
|
|
|
canKeyFocus = false;
|
|
|
|
|
hasBitmapArray = false;
|
|
|
|
|
category = "Tools";
|
2023-09-09 03:44:18 +00:00
|
|
|
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];
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiThumbHighlightButtonProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiThumbHighlightButtonProfile : ToolsGuiButtonProfile )
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:thumbHightlightButton_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiIconButtonProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiIconButtonProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
|
|
|
|
border = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
fixedExtent = false;
|
|
|
|
|
justify = "center";
|
|
|
|
|
canKeyFocus = false;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:iconbutton_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiIconButtonSmallProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiIconButtonSmallProfile : ToolsGuiIconButtonProfile )
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:iconbuttonsmall_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
2023-09-09 03:44:18 +00:00
|
|
|
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;
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiEditorTabPage ) )
|
|
|
|
|
new GuiControlProfile(ToolsGuiEditorTabPage)
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
opaque = true;
|
|
|
|
|
border = false;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/tabsColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
fixedExtent = false;
|
2019-05-09 05:11:49 +00:00
|
|
|
justify = "left";
|
2017-02-24 08:40:56 +00:00
|
|
|
canKeyFocus = false;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:tab_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
2023-09-09 03:44:18 +00:00
|
|
|
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";
|
|
|
|
|
};
|
|
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
if( !isObject( ToolsGuiCheckBoxProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiCheckBoxProfile )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
opaque = false;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
border = false;
|
2019-06-17 07:30:45 +00:00
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
fixedExtent = true;
|
|
|
|
|
justify = "left";
|
2021-07-28 14:26:13 +00:00
|
|
|
bitmapAsset = "ToolsModule:checkbox_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
2023-09-09 03:44:18 +00:00
|
|
|
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";
|
|
|
|
|
};
|
|
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
if( !isObject( ToolsGuiCheckBoxListProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiCheckBoxListProfile : ToolsGuiCheckBoxProfile)
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:checkbox_list_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiCheckBoxListFlipedProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiCheckBoxListFlipedProfile : ToolsGuiCheckBoxProfile)
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:checkbox_list_fliped_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiInspectorCheckBoxTitleProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiInspectorCheckBoxTitleProfile : ToolsGuiCheckBoxProfile ){
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeBold;
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiRadioProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiRadioProfile )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
fixedExtent = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:radioButton_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
2023-09-09 03:44:18 +00:00
|
|
|
// 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";
|
|
|
|
|
};
|
|
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
if( !isObject( ToolsGuiScrollProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiScrollProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/tabsColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
border = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:scrollBar_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiOverlayProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiOverlayProfile )
|
|
|
|
|
{
|
2021-08-06 06:06:36 +00:00
|
|
|
opaque = false;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextGLColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiSliderProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiSliderProfile )
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:slider_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiSliderBoxProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiSliderBoxProfile )
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:slider_w_box_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiPopupMenuItemBorder ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiPopupMenuItemBorder : ToolsGuiButtonProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
|
|
|
|
border = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextGLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
fixedExtent = false;
|
|
|
|
|
justify = "center";
|
|
|
|
|
canKeyFocus = false;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:button_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiPopUpMenuDefault ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiPopUpMenuDefault : ToolsGuiDefaultProfile )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
opaque = true;
|
|
|
|
|
mouseOverSelected = true;
|
|
|
|
|
textOffset = "3 3";
|
|
|
|
|
border = 0;
|
|
|
|
|
borderThickness = 0;
|
|
|
|
|
fixedExtent = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:scrollBar_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
profileForChildren = ToolsGuiPopupMenuItemBorder;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/fieldBGColor");//"255 255 255";//100
|
|
|
|
|
fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");//"91 101 116";
|
|
|
|
|
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");//"91 101 116";
|
2019-09-29 11:44:43 +00:00
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
// font color is black
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");//"215 215 215";
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");//"215 215 215";
|
|
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");//"215 215 215";
|
2019-09-29 11:44:43 +00:00
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextColor");//"215 215 215";
|
|
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiPopUpMenuProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiPopUpMenuProfile : ToolsGuiPopUpMenuDefault )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
textOffset = "6 3";
|
|
|
|
|
bitmapAsset = "ToolsModule:dropDown_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
border = 1;
|
|
|
|
|
profileForChildren = ToolsGuiPopUpMenuDefault;
|
2023-09-09 03:44:18 +00:00
|
|
|
category = "Tools";
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiPopUpMenuTabProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiPopUpMenuTabProfile : ToolsGuiPopUpMenuDefault )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
bitmapAsset = "ToolsModule:dropDown_tab_image";
|
|
|
|
|
textOffset = "6 3";
|
2017-02-24 08:40:56 +00:00
|
|
|
canKeyFocus = true;
|
|
|
|
|
hasBitmapArray = true;
|
|
|
|
|
border = 1;
|
|
|
|
|
profileForChildren = ToolsGuiPopUpMenuDefault;
|
2023-09-09 03:44:18 +00:00
|
|
|
category = "Tools";
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiPopUpMenuEditProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiPopUpMenuEditProfile : ToolsGuiPopUpMenuDefault )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
textOffset = "6 3";
|
2017-02-24 08:40:56 +00:00
|
|
|
canKeyFocus = true;
|
2023-09-09 03:44:18 +00:00
|
|
|
bitmapAsset = "ToolsModule:dropDown_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
border = 1;
|
|
|
|
|
profileForChildren = ToolsGuiPopUpMenuDefault;
|
2023-09-09 03:44:18 +00:00
|
|
|
category = "Tools";
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiListBoxProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiListBoxProfile )
|
|
|
|
|
{
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColorHL = EditorSettings.value("Theme/windowBackgroundColor");
|
|
|
|
|
fillColorNA = EditorSettings.value("Theme/windowBackgroundColor");
|
2019-09-29 11:44:43 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2019-06-03 07:47:30 +00:00
|
|
|
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[18];
|
|
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
tab = true;
|
|
|
|
|
canKeyFocus = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTabBookProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiTabBookProfile )
|
|
|
|
|
{
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColorHL = EditorSettings.value("Theme/windowBackgroundColor");
|
|
|
|
|
fillColorNA = EditorSettings.value("Theme/windowBackgroundColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/headerTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
justify = "center";
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:tab_image";
|
2019-05-09 05:11:49 +00:00
|
|
|
tabWidth = 65;
|
|
|
|
|
tabHeight = 25;
|
2017-02-24 08:40:56 +00:00
|
|
|
tabPosition = "Top";
|
|
|
|
|
tabRotation = "Horizontal";
|
2023-09-09 03:44:18 +00:00
|
|
|
textOffset = "10 1";
|
2017-02-24 08:40:56 +00:00
|
|
|
tab = true;
|
|
|
|
|
cankeyfocus = true;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTabBookNoBitmapProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiTabBookNoBitmapProfile : ToolsGuiTabBookProfile )
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTabPageProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiTabPageProfile : ToolsGuiDefaultProfile )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeBold;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
justify = "center";
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:tab_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
opaque = false;
|
|
|
|
|
fillColor = "240 239 238";
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTreeViewProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiTreeViewProfile )
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:treeView_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
autoSizeHeight = true;
|
|
|
|
|
canKeyFocus = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
2019-05-09 05:11:49 +00:00
|
|
|
fillColorHL = "116 116 116";
|
|
|
|
|
fillColorSEL = "91 101 116";
|
|
|
|
|
fillColorNA = "40 40 40";
|
|
|
|
|
fontColor = "215 215 215";
|
|
|
|
|
fontColorHL = "240 240 240";
|
|
|
|
|
fontColorSEL= "240 240 240";
|
|
|
|
|
fontColorNA = "150 150 150";
|
|
|
|
|
borderColor = "34 34 34";
|
|
|
|
|
borderColorHL = "34 34 34";
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
opaque = false;
|
|
|
|
|
border = false;
|
|
|
|
|
category = "Tools";
|
2020-07-11 21:49:06 +00:00
|
|
|
|
|
|
|
|
fontColors[9] = "0 128 128"; //for active/selection of elements
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiTextPadProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiTextPadProfile )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeMono;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
tab = true;
|
|
|
|
|
canKeyFocus = true;
|
|
|
|
|
|
|
|
|
|
// Deviate from the Default
|
|
|
|
|
opaque=true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
2019-09-29 12:51:43 +00:00
|
|
|
fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
|
|
|
|
|
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
|
|
|
|
|
|
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
|
2020-01-10 00:28:53 +00:00
|
|
|
|
|
|
|
|
cursorColor = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
border = 0;
|
|
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if( !isObject( ToolsGuiFormProfile ) )
|
|
|
|
|
new GuiControlProfile( ToolsGuiFormProfile : ToolsGuiTextProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = false;
|
|
|
|
|
border = 5;
|
|
|
|
|
justify = "center";
|
|
|
|
|
profileForChildren = ToolsGuiButtonProfile;
|
|
|
|
|
opaque = false;
|
|
|
|
|
hasBitmapArray = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:button_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Tools";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiBackFillProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
|
|
|
|
fillColor = "0 94 94";
|
|
|
|
|
border = true;
|
|
|
|
|
borderColor = "255 128 128";
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2019-05-09 05:11:49 +00:00
|
|
|
fontColor = "215 215 215";
|
2017-02-24 08:40:56 +00:00
|
|
|
fontColorHL = "50 50 50";
|
|
|
|
|
fixedExtent = true;
|
|
|
|
|
justify = "center";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
2024-03-03 21:13:58 +00:00
|
|
|
singleton GuiControlProfile(GuiShaderEditorProfile : ToolsGuiDefaultProfile)
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
2024-03-04 17:15:13 +00:00
|
|
|
canKeyFocus = true;
|
2024-03-05 13:15:54 +00:00
|
|
|
border = true;
|
|
|
|
|
borderColor = "128 128 128 128";
|
|
|
|
|
borderColorHL = "128 128 0";
|
|
|
|
|
borderColorSEL = "128 0 128 128";
|
2024-03-03 21:13:58 +00:00
|
|
|
};
|
|
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
singleton GuiControlProfile( GuiControlListPopupProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
2019-05-09 05:11:49 +00:00
|
|
|
fillColorHL = "91 101 116";
|
2017-02-24 08:40:56 +00:00
|
|
|
border = false;
|
|
|
|
|
//borderColor = "0 0 0";
|
2019-05-09 05:11:49 +00:00
|
|
|
fontColor = "215 215 215";
|
|
|
|
|
fontColorHL = "240 240 240";
|
2017-02-24 08:40:56 +00:00
|
|
|
fontColorNA = "50 50 50";
|
|
|
|
|
textOffset = "0 2";
|
|
|
|
|
autoSizeWidth = false;
|
|
|
|
|
autoSizeHeight = true;
|
|
|
|
|
tab = true;
|
|
|
|
|
canKeyFocus = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:scrollBar_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiSceneGraphEditProfile )
|
|
|
|
|
{
|
|
|
|
|
canKeyFocus = true;
|
|
|
|
|
tab = true;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorButtonProfile : ToolsGuiButtonProfile )
|
|
|
|
|
{
|
|
|
|
|
//border = 1;
|
|
|
|
|
justify = "Center";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorSwatchButtonProfile )
|
|
|
|
|
{
|
2019-06-17 07:30:45 +00:00
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
|
|
|
|
borderColorNA = EditorSettings.value("Theme/dividerMidColor");
|
|
|
|
|
fillColorNA = EditorSettings.value("Theme/fieldBGColor");
|
|
|
|
|
borderColorHL = EditorSettings.value("Theme/dividerLightColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorTextEditProfile )
|
|
|
|
|
{
|
|
|
|
|
// Transparent Background
|
|
|
|
|
opaque = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
|
|
|
|
fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
|
2019-11-18 09:30:04 +00:00
|
|
|
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
|
|
|
|
fillColorNA = EditorSettings.value("Theme/fieldBGSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
// No Border (Rendered by field control)
|
|
|
|
|
border = false;
|
|
|
|
|
|
|
|
|
|
tab = true;
|
|
|
|
|
canKeyFocus = true;
|
|
|
|
|
|
|
|
|
|
// font
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
2019-11-18 09:30:04 +00:00
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextSELColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
singleton GuiControlProfile( GuiDropdownTextEditProfile : ToolsGuiTextEditProfile )
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:dropdown_textEdit_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorTextEditRightProfile : GuiInspectorTextEditProfile )
|
|
|
|
|
{
|
|
|
|
|
justify = "right";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
2022-09-13 19:42:01 +00:00
|
|
|
//Scene Tree GUI Inspector Dropdown menus
|
2017-02-24 08:40:56 +00:00
|
|
|
singleton GuiControlProfile( GuiInspectorGroupProfile )
|
|
|
|
|
{
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
2017-02-24 08:40:56 +00:00
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
justify = "left";
|
|
|
|
|
opaque = false;
|
|
|
|
|
border = false;
|
|
|
|
|
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:rollout_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
textOffset = "20 0";
|
|
|
|
|
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorFieldProfile)
|
|
|
|
|
{
|
|
|
|
|
// fill color
|
2019-06-17 07:30:45 +00:00
|
|
|
opaque = true;
|
|
|
|
|
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
|
|
|
|
fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
|
2019-11-18 09:30:04 +00:00
|
|
|
fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColorNA = EditorSettings.value("Theme/fieldBGSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
// border color
|
|
|
|
|
border = false;
|
2019-06-17 07:30:45 +00:00
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
|
|
|
|
borderColorHL = EditorSettings.value("Theme/dividerMidColor");
|
|
|
|
|
borderColorNA = EditorSettings.value("Theme/dividerLightColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
//bevelColorHL = "255 255 255";
|
|
|
|
|
//bevelColorLL = "0 0 0";
|
|
|
|
|
|
|
|
|
|
// font
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2022-09-13 19:42:01 +00:00
|
|
|
textOffset = "15 0";
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
tab = true;
|
|
|
|
|
canKeyFocus = true;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorMultiFieldProfile : GuiInspectorFieldProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
|
|
|
|
fillColor = "50 50 230 30";
|
|
|
|
|
};
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorMultiFieldDifferentProfile : GuiInspectorFieldProfile )
|
|
|
|
|
{
|
|
|
|
|
border = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
borderColor = EditorSettings.value("Theme/dividerMidColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorDynamicFieldProfile : GuiInspectorFieldProfile )
|
|
|
|
|
{
|
|
|
|
|
// Transparent Background
|
|
|
|
|
opaque = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/fieldBGColor");
|
|
|
|
|
fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
// No Border (Rendered by field control)
|
|
|
|
|
border = false;
|
|
|
|
|
|
|
|
|
|
tab = true;
|
|
|
|
|
canKeyFocus = true;
|
|
|
|
|
|
|
|
|
|
// font
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/headerTextColor");
|
|
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextSELColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiRolloutProfile )
|
|
|
|
|
{
|
2019-05-09 05:11:49 +00:00
|
|
|
border = 0;
|
2019-06-17 07:30:45 +00:00
|
|
|
borderColor = EditorSettings.value("Theme/dividerLightColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2019-05-09 05:11:49 +00:00
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:rollout_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
textoffset = "17 0";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorRolloutProfile0 )
|
|
|
|
|
{
|
|
|
|
|
// font
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
|
2023-09-09 03:44:18 +00:00
|
|
|
fontColor = "220 220 220";
|
|
|
|
|
fontColorHL = "0 0 0";
|
|
|
|
|
fontColorNA = "160 160 160";
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
justify = "left";
|
|
|
|
|
opaque = false;
|
|
|
|
|
|
2022-09-21 00:59:05 +00:00
|
|
|
border = false;
|
2017-02-24 08:40:56 +00:00
|
|
|
borderColor = "190 190 190";
|
|
|
|
|
borderColorHL = "156 156 156";
|
2022-09-21 00:59:05 +00:00
|
|
|
borderColorNA = "255 64 64";
|
2017-02-24 08:40:56 +00:00
|
|
|
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:rollout_plusminus_header_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
textOffset = "20 0";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
2023-09-09 03:44:18 +00:00
|
|
|
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";
|
|
|
|
|
};
|
|
|
|
|
|
2017-02-24 08:40:56 +00:00
|
|
|
singleton GuiControlProfile( GuiInspectorStackProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = false;
|
|
|
|
|
border = false;
|
|
|
|
|
category = "Editor";
|
2019-06-17 07:30:45 +00:00
|
|
|
|
|
|
|
|
fillColor = EditorSettings.value("Theme/tabsColor");
|
|
|
|
|
fillColorHL = EditorSettings.value("Theme/tabsHLColor");
|
|
|
|
|
|
|
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorProfile : GuiInspectorFieldProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
border = 0;
|
|
|
|
|
cankeyfocus = true;
|
|
|
|
|
tab = true;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorInfoProfile : GuiInspectorFieldProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
border = 0;
|
|
|
|
|
cankeyfocus = true;
|
|
|
|
|
tab = true;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorBackgroundProfile : GuiInspectorFieldProfile )
|
|
|
|
|
{
|
|
|
|
|
border = 0;
|
|
|
|
|
cankeyfocus=true;
|
|
|
|
|
tab = true;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorTypeFileNameProfile )
|
|
|
|
|
{
|
|
|
|
|
// Transparent Background
|
|
|
|
|
opaque = false;
|
|
|
|
|
|
|
|
|
|
// No Border (Rendered by field control)
|
|
|
|
|
border = 0;
|
|
|
|
|
|
|
|
|
|
tab = true;
|
|
|
|
|
canKeyFocus = true;
|
|
|
|
|
|
|
|
|
|
// font
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
// Center text
|
|
|
|
|
justify = "center";
|
|
|
|
|
|
2019-05-09 05:11:49 +00:00
|
|
|
fontColor = "240 240 240";
|
|
|
|
|
fontColorHL = "240 240 240";
|
|
|
|
|
fontColorNA = "215 215 215";
|
2017-02-24 08:40:56 +00:00
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
2019-05-09 05:11:49 +00:00
|
|
|
fillColorHL = "91 101 116";
|
2017-02-24 08:40:56 +00:00
|
|
|
fillColorNA = "244 244 244";
|
|
|
|
|
|
|
|
|
|
borderColor = "190 190 190";
|
|
|
|
|
borderColorHL = "156 156 156";
|
|
|
|
|
borderColorNA = "64 64 64";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorColumnCtrlProfile : GuiInspectorFieldProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
|
|
|
|
fillColor = "210 210 210";
|
|
|
|
|
border = 0;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( InspectorTypeEnumProfile : GuiInspectorFieldProfile )
|
|
|
|
|
{
|
|
|
|
|
mouseOverSelected = true;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:scrollBar_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
opaque=true;
|
|
|
|
|
border=true;
|
|
|
|
|
textOffset = "4 0";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( InspectorTypeCheckboxProfile : GuiInspectorFieldProfile )
|
|
|
|
|
{
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:checkBox_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
opaque=false;
|
|
|
|
|
border=false;
|
|
|
|
|
textOffset = "4 0";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiToolboxButtonProfile : ToolsGuiButtonProfile )
|
|
|
|
|
{
|
|
|
|
|
justify = "center";
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
border = 0;
|
|
|
|
|
textOffset = "0 0";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiDirectoryTreeProfile : ToolsGuiTreeViewProfile )
|
|
|
|
|
{
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
|
|
|
|
|
fillColorHL = EditorSettings.value("Theme/fieldBGColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiDirectoryFileListProfile )
|
|
|
|
|
{
|
2019-06-17 07:30:45 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
|
|
|
|
|
fillColorHL = EditorSettings.value("Theme/fieldBGColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeRegular;
|
|
|
|
|
fontSize = $GUI::fontSize[16];
|
2017-02-24 08:40:56 +00:00
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiDragAndDropProfile )
|
|
|
|
|
{
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorFieldInfoPaneProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = false;
|
|
|
|
|
fillcolor = GuiInspectorBackgroundProfile.fillColor;
|
|
|
|
|
borderColor = ToolsGuiDefaultProfile.borderColor;
|
|
|
|
|
border = 1;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiInspectorFieldInfoMLTextProfile : ToolsGuiMLTextProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = false;
|
|
|
|
|
border = 0;
|
|
|
|
|
textOffset = "5 0";
|
|
|
|
|
category = "Editor";
|
2019-06-17 07:30:45 +00:00
|
|
|
|
|
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiEditorScrollProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
fillcolor = EditorSettings.value("Theme/windowBackgroundColor");
|
|
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
border = 1;
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:scrollBar_image";
|
2017-02-24 08:40:56 +00:00
|
|
|
hasBitmapArray = true;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile( GuiCreatorIconButtonProfile )
|
|
|
|
|
{
|
|
|
|
|
opaque = true;
|
2022-05-31 05:26:20 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/tabsColor");
|
|
|
|
|
fillColorHL = EditorSettings.value("Theme/tabsHLColor");
|
|
|
|
|
fillColorSEL = EditorSettings.value("Theme/tabsSELColor");
|
|
|
|
|
fillColorNA = EditorSettings.value("Theme/tabsSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
//tab = true;
|
|
|
|
|
//canKeyFocus = true;
|
|
|
|
|
|
2023-09-09 03:44:18 +00:00
|
|
|
fontType = $Gui::fontTypeBold;
|
|
|
|
|
fontSize = $GUI::fontSize[18];
|
2017-02-24 08:40:56 +00:00
|
|
|
|
2022-05-31 05:26:20 +00:00
|
|
|
fontColor = EditorSettings.value("Theme/fieldTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
|
|
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
border = 1;
|
2022-05-31 05:26:20 +00:00
|
|
|
borderColor = EditorSettings.value("Theme/dividerMidColor");
|
|
|
|
|
borderColorHL = EditorSettings.value("Theme/dividerLightColor");
|
|
|
|
|
borderColorNA = EditorSettings.value("Theme/dividerDarkColor");
|
2017-02-24 08:40:56 +00:00
|
|
|
|
|
|
|
|
//bevelColorHL = "255 255 255";
|
|
|
|
|
//bevelColorLL = "0 0 0";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
singleton GuiControlProfile( ToolsGuiMenuBarProfile )
|
2017-02-24 08:40:56 +00:00
|
|
|
{
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/headerColor");
|
|
|
|
|
fillcolorHL = EditorSettings.value("Theme/tabsSELColor");
|
|
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
|
|
|
|
borderColorHL = EditorSettings.value("Theme/dividerMidColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/headerTextColor");
|
|
|
|
|
fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
2019-10-20 07:47:15 +00:00
|
|
|
fontColorNA = EditorSettings.value("Theme/fieldTextNAColor");
|
2022-09-13 19:42:01 +00:00
|
|
|
border = 1;
|
2017-02-24 08:40:56 +00:00
|
|
|
borderThickness = 1;
|
|
|
|
|
opaque = true;
|
|
|
|
|
mouseOverSelected = true;
|
|
|
|
|
category = "Editor";
|
2021-07-19 06:07:08 +00:00
|
|
|
bitmapAsset = "ToolsModule:checkbox_menubar_image";
|
2023-09-09 03:44:18 +00:00
|
|
|
fontSize = $GUI::fontSize[18];
|
|
|
|
|
fontType = $Gui::fontTypeRegular;
|
2017-02-24 08:40:56 +00:00
|
|
|
};
|
2019-06-17 07:30:45 +00:00
|
|
|
|
|
|
|
|
singleton GuiControlProfile( ToolsMenubarProfile : ToolsGuiDefaultProfile )
|
|
|
|
|
{
|
|
|
|
|
bitmap = "./menubar";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
|
2019-11-06 06:23:07 +00:00
|
|
|
opaque = true;
|
2022-09-21 00:59:05 +00:00
|
|
|
border = false;
|
2019-11-06 06:23:07 +00:00
|
|
|
|
2019-06-17 07:30:45 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/headerColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/headerTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile (menubarProfile)
|
|
|
|
|
{
|
|
|
|
|
opaque = false;
|
|
|
|
|
border = -2;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
|
|
|
|
|
bitmap = "./menubar";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
|
|
|
|
|
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/headerTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
2023-09-09 03:44:18 +00:00
|
|
|
fontSize = 15;
|
2019-06-17 07:30:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
singleton GuiControlProfile (editorMenubarProfile)
|
|
|
|
|
{
|
|
|
|
|
border = -2;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
bitmap = "./editor-menubar";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
singleton GuiControlProfile (editorMenu_wBorderProfile)
|
|
|
|
|
{
|
|
|
|
|
border = -2;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
bitmap = "./menu-fullborder";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
singleton GuiControlProfile (inspectorStyleRolloutProfile)
|
|
|
|
|
{
|
|
|
|
|
border = -2;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
bitmap = "./inspector-style-rollout";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
singleton GuiControlProfile (inspectorStyleRolloutListProfile)
|
|
|
|
|
{
|
|
|
|
|
border = -2;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
bitmap = "./inspector-style-rollout-list";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
singleton GuiControlProfile (inspectorStyleRolloutDarkProfile)
|
|
|
|
|
{
|
|
|
|
|
border = -2;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
bitmap = "./inspector-style-rollout-dark";
|
|
|
|
|
|
|
|
|
|
fillColor = EditorSettings.value("Theme/windowBackgroundColor");
|
|
|
|
|
fontColor = EditorSettings.value("Theme/headerTextColor");
|
|
|
|
|
fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
|
|
|
|
|
borderColor = EditorSettings.value("Theme/dividerDarkColor");
|
|
|
|
|
};
|
|
|
|
|
singleton GuiControlProfile (inspectorStyleRolloutInnerProfile)
|
|
|
|
|
{
|
|
|
|
|
border = -2;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
bitmap = "./inspector-style-rollout_inner";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
singleton GuiControlProfile (inspectorStyleRolloutNoHeaderProfile)
|
|
|
|
|
{
|
|
|
|
|
border = -2;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
bitmap = "./inspector-style-rollout-noheader";
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
|
|
|
|
singleton GuiControlProfile (IconDropdownProfile)
|
|
|
|
|
{
|
|
|
|
|
border = -2;
|
2020-04-05 06:32:44 +00:00
|
|
|
opaque = true;
|
|
|
|
|
border = true;
|
2019-06-17 07:30:45 +00:00
|
|
|
category = "Editor";
|
2019-11-18 09:30:04 +00:00
|
|
|
//bitmap = "./icon-dropdownbar";
|
|
|
|
|
|
2020-04-05 06:32:44 +00:00
|
|
|
fillColor = EditorSettings.value("Theme/headerColor");
|
2021-07-19 06:07:08 +00:00
|
|
|
};
|
2022-03-17 07:43:18 +00:00
|
|
|
|
|
|
|
|
//
|
|
|
|
|
singleton GuiControlProfile (GuiSimpleBorderProfile)
|
|
|
|
|
{
|
|
|
|
|
opaque = false;
|
|
|
|
|
border = 1;
|
|
|
|
|
category = "Editor";
|
|
|
|
|
};
|
Adjusted handling for the bitmap and bitmapAsset fields for guiBitmapButtonCtrl to forcefully update the button states when changed, ensuring that the bitmaps refresh when changed via the field
Added callback for onResize to guiWindowCtrl so controls - such as the EditorTree - can be properly resized in certain circumstances when the window is changed
Added getIncrement() and getRange() to GuiGameSettingsCtrl to better facilitate options manipulation on the script side
Corrected some of the console method documentation strings in GuiGameSettingsCtrl
Removed some unneeded, extraneous files and their asset definitions that came from odd import conversions. Where applicable, created cleaned up versions to make naming conventions and references stable
Fixed canvas mode update text typo: FSAA -> FXAA
Added logic to DOF, Light Rays, SSAO and Vignette postFX's to check both the preset setting AND the user preference before enabling.
Shifted initialization order so PostFX's are loaded before we configure the canvas, to ensure stuff like the FXAAPostFX exists and can be toggled on on load
Fixed multiple issues with options menu:
When using gamepad, unable to navigate from categories to options. Fixed so can now traverse as normal
Input limitations on gamepad necessitated changing of how setting applying happens, is now done as a 'apply or discard' prompt when leaving the options menu
Added proper handling for adjusting settings with gamepad with left/right inputs
Fixed issue where the unapplied change for an option was sometimes being processed as an object name rather than an implicit string. Now made to be explicit strings to avoid issue.
Made the menu button input for "Select" to go from categories to options gamepad only, and hidden when in the options list
Fixed issue where changing window mode didn't correctly affect resolution option. Now set up so changing this field correctly refreshes the resolution option. Specifically, when on borderless, the resolution field does not show, preventing confusion as it is always full resolution
Generally have the options list refresh when changes happen to allow any and all fields to be able to dynamically respond to other options having changed improving flexibility.
Cleaned up old, unused, commented out functions
Added ability on OKCancel message boxes to override the button text if needed
Fixed issue with AssetBrowser where the shrink/grow icons next to the preview size slider were not anchored correctly.
Adjusted callback logic so if preview slider is clicked on, rather than dragged, it will correctly update the zoom values
Added sorting to Modules List dropdown for the AssetBrowser
Improved standardization of double-clicking in AssetBrowser. Now defaults to editing action if regularly browsing and selecting if in select mode. Still allows regular per-type overrides as normal
Moved definition of GuiDisabledTextEditProfile to gui profiles.ed.tscript file, removed duplicates to stop error spam
Adjusted default settings value for double-click action in AB to be edit to prevent unstable behavior
Removed old file refs from Load Recent list in the default settings
2022-03-27 03:36:37 +00:00
|
|
|
|
|
|
|
|
singleton GuiControlProfile (GuiDisabledTextEditProfile)
|
|
|
|
|
{
|
|
|
|
|
opaque = false;
|
|
|
|
|
border = 0;
|
|
|
|
|
bitmapAsset = "ToolsModule:textEdit_image";
|
|
|
|
|
borderColor = "255 255 255 200";
|
|
|
|
|
fontColor = "0 0 0";
|
|
|
|
|
fontColorHL = "255 255 255";
|
|
|
|
|
fontColorNA = "128 128 128";
|
|
|
|
|
textOffset = "4 2";
|
|
|
|
|
autoSizeWidth = false;
|
|
|
|
|
autoSizeHeight = false;
|
|
|
|
|
tab = false;
|
|
|
|
|
canKeyFocus = false;
|
|
|
|
|
category = "Editor";
|
2023-09-09 03:44:18 +00:00
|
|
|
};
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
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";
|
|
|
|
|
};
|
|
|
|
|
// -----------------------------------------------------------------------------
|