mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-04 21:10:32 +00:00
Wipwork for updating the BaseUI
Adds ability to select an actionmap for a GuiInputCtrl which will push it onto the stack, so menus can enact an action map Update of the MainMenuGUI to fit new style and have the logic needed for KBM and gamepad navigation Very early wipwork of OptionsMenu overhaul for new standard
This commit is contained in:
parent
97de2e6b60
commit
616d974212
12 changed files with 746 additions and 492 deletions
|
|
@ -87,27 +87,32 @@ if( !isObject( GuiMenuButtonProfile ) )
|
|||
new GuiControlProfile( GuiMenuButtonProfile )
|
||||
{
|
||||
opaque = true;
|
||||
border = true;
|
||||
border = false;
|
||||
fontSize = 18;
|
||||
fontType = "Arial Bold";
|
||||
fontColor = $TextMediumEmphasisColor;
|
||||
fontColorHL = $TextMediumEmphasisColor;
|
||||
fontColorNA = $TextDisabledColor;
|
||||
fontColorSEL = $TextMediumEmphasisColor;
|
||||
fillColor = "40 40 40";
|
||||
fillColorHL = "49 34 37";
|
||||
fontColor = "200 200 200 255";
|
||||
fontColorHL = "0 0 0 255";
|
||||
fontColorNA = "108 108 108 255";
|
||||
fontColorSEL = "200 200 200 255";
|
||||
fillColor = "0 0 0 0";
|
||||
fillColorHL = "255 255 255 255";
|
||||
fillColorNA = "40 40 40";
|
||||
borderColor = "87 87 87";
|
||||
borderColorNA = "0 0 0";
|
||||
borderColorHL = "194 64 64";
|
||||
fixedExtent = false;
|
||||
fixedExtent = 0;
|
||||
justify = "center";
|
||||
canKeyFocus = false;
|
||||
//bitmapAsset = "UI:menu_button_image";
|
||||
hasBitmapArray = false;
|
||||
soundButtonDown = "UI:buttonClick";
|
||||
soundButtonOver = "UI:buttonHover";
|
||||
category = "Core";
|
||||
category = "BaseUI";
|
||||
fontColors[0] = "200 200 200 255";
|
||||
fontColors[2] = "108 108 108 255";
|
||||
fontColors[3] = "200 200 200 255";
|
||||
fontColors[5] = "Magenta";
|
||||
fontColorLinkHL = "Magenta";
|
||||
};
|
||||
|
||||
if( !isObject( GuiHighlightMenuButtonProfile ) )
|
||||
|
|
@ -555,3 +560,10 @@ singleton GuiControlProfile(SliderBitmapGUIProfile)
|
|||
opaque = false;
|
||||
borderColor = "0 0 0 255";
|
||||
};
|
||||
|
||||
singleton GuiControlProfile(GuiMenuPanelProfile)
|
||||
{
|
||||
category = "BaseUI";
|
||||
opaque = true;
|
||||
fillcolor = "15 15 15 255";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue