mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Merge pull request #373 from thecelloman/radioprofile
Add a default RadioControl Profile and image asset back to the Templates...
This commit is contained in:
commit
f4f0d7fcc7
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…
Reference in a new issue