Parcourir la source

Add a default RadioControl Profile and image asset back to the Templates.

thecelloman il y a 12 ans
Parent
commit
a46c55d853

BIN
Templates/Empty/game/core/art/gui/images/radioButton.png


+ 17 - 0
Templates/Empty/game/core/art/gui/profiles.cs

@@ -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


+ 17 - 0
Templates/Full/game/core/art/gui/profiles.cs

@@ -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";
+};