Blockland Forums > Modification Help
Custom GUI Control
Slicks555:
Blockland\Add-Ons\System_ReturnToBlockland\interface\profiles
--- Code: ---new GuiControlProfile(RTB_TextEditProfile : GuiTextEditProfile)
{
fillColor = "255 255 255 255";
borderColor = "188 191 193 255";
fontSize = 12;
fontType = "Verdana";
fontColor = "64 64 64 255";
fontColors[0] = "64 64 64 255";
fontColors[1] = "0 0 0";
};
--- End code ---
just an example, copied from RTB generic.cs
Port:
--- Quote from: Slicks555 on June 09, 2012, 03:35:10 PM ---Blockland\Add-Ons\System_ReturnToBlockland\interface\profiles
--- Code: ---
--- End code ---
just an example, copied from RTB generic.cs
--- End quote ---
That's a profile.
--- Quote from: Nexus on June 09, 2012, 03:26:28 PM ---new guicontrol(hi){};
--- End quote ---
He wants to create custom classes for GUIs (examples of existing ones: guiBitmapCtrl, guiSwatchCtrl).
jes00:
--- Quote from: Port on June 09, 2012, 03:35:31 PM ---That's a profile.
He wants to create custom classes for GUIs (examples of existing ones: guiBitmapCtrl, guiSwatchCtrl).
--- End quote ---
Indeed.
Nexus:
what are you unable to do with the current set of gui controls that you need to make a new one to accomplish?
jes00:
--- Quote from: Nexus on June 09, 2012, 04:05:54 PM ---what are you unable to do with the current set of gui controls that you need to make a new one to accomplish?
--- End quote ---
Good point. I just thought for some custom bitmaps and stuff it would be more convenient to just be able to select a GUI control for it.