Quote:
|
Originally Posted by Torankusu_2002
Yeah, I see that, and I see that there is one main image that has most of the stuff on it. But what would I do if I had custom scroll buttons, etc.
|
You can make several images for buttons and check boxes or so, and use that for the bitmaps, for a variety of buttons. For consistancy, you should make a GuiProfile and use that. Here's how you do it:
1) Create the
profile itself, it's the 'GuiControlProfile' object, and you treat it like you do any other
Gui object:
PHP Code:
new GuiControlProfile(NAME) {
The 'NAME' is how you assign the
profile, so I have my window
profile named to 'KaidennWindow', and my MLText to 'KaidennMLText'. I do this because it is easier to manage and simpler to use.
2) After the first line, you look up GuiControlProfile in newfeatures_client.txt and alter whatever you please. Colours are in hex strings, like "FF 00 FF" for purple or "00 FF 00" for green.
3) Inside the thing you want to alter, like your GuiWindowCtrl for example, assign the
profile:
PHP Code:
profile = NAME;
Remember to use quotes for 'NAME' otherwise it'll think it's a var, but you do not need quotes when you make the
profile. You can still use the 'useownprofile' and '
profile.param = value' things to alter the
profile for that
Gui object only.
I think someone wrote a docu on profiles, anyone know who and where it is?