mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
Add a default RadioControl Profile and image asset back to the Templates.
This commit is contained in:
parent
0d062f306b
commit
a46c55d853
4 changed files with 34 additions and 0 deletions
BIN
Templates/Empty/game/core/art/gui/images/radioButton.png
Normal file
BIN
Templates/Empty/game/core/art/gui/images/radioButton.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 843 B |
|
|
@ -565,3 +565,20 @@ new GuiControlProfile ( CenterPrintTextProfile )
|
|||
fontColor = "0 255 0";
|
||||
category = "Core";
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Radio button control
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
if( !isObject( GuiRadioProfile ) )
|
||||
new GuiControlProfile( GuiRadioProfile )
|
||||
{
|
||||
fontSize = 14;
|
||||
fillColor = "232 232 232";
|
||||
fontColor = "20 20 20";
|
||||
fontColorHL = "80 80 80";
|
||||
fixedExtent = true;
|
||||
bitmap = "./images/radioButton";
|
||||
hasBitmapArray = true;
|
||||
category = "Core";
|
||||
};
|
||||
|
|
|
|||
BIN
Templates/Full/game/core/art/gui/images/radioButton.png
Normal file
BIN
Templates/Full/game/core/art/gui/images/radioButton.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 843 B |
|
|
@ -565,3 +565,20 @@ new GuiControlProfile ( CenterPrintTextProfile )
|
|||
fontColor = "0 255 0";
|
||||
category = "Core";
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Radio button control
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
if( !isObject( GuiRadioProfile ) )
|
||||
new GuiControlProfile( GuiRadioProfile )
|
||||
{
|
||||
fontSize = 14;
|
||||
fillColor = "232 232 232";
|
||||
fontColor = "20 20 20";
|
||||
fontColorHL = "80 80 80";
|
||||
fixedExtent = true;
|
||||
bitmap = "./images/radioButton";
|
||||
hasBitmapArray = true;
|
||||
category = "Core";
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue