mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +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
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";
|
fontColor = "0 255 0";
|
||||||
category = "Core";
|
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";
|
fontColor = "0 255 0";
|
||||||
category = "Core";
|
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