ThePH's UI API: flexibleUI v3
Now with cyclers and progress bars
Early version (when it wasn't using OOP) :What's new:
v3.1:
- Checkboxes and radios can have more than one indicator, colours everywhere, and use regEx (%I%) to tell where the indicator(s) are. (see screenshots)
v3.0:
- Added multiple colours for one the same element, used as so: %[fb][0123456789abcdef]
- Added cyclers, used to cycle throught a list (see docs when updated)
- Added progress bar
v2.1:
- Fixed checkboxes
- Fixed tags not affecting the draw function
- Fixed label tags not setting properly
v2 :
- Recoded the API from scratch to make it use OOP, which is way easier to use for the user.
- Possibility to add actions as string, table or boolean which will be returned.
- Possibility to add action as function, which will be executed when clicked.
- Items are now sorted alphabetically by key, meaning the first will be drawn first etc.
- Text, for buttons or labels can be a table containing the lines and will be adjusted
Docs :
Can be found here, if you need more details, ask
For v2.x : http://pastebin.com/eiP96r3e
Bugs :
Theres are currently no bug if you use it as it is sayed you should (right types of arguments etc) except:
- Nothing
Todo :
- Make container containable ?
- Make inputboxes
- Suggestions ?
Add-on scripts :
Numpad v1
Download :
v3.0 : http://pastebin.com/VkJrkxDU
v2.x : http://pastebin.com/CDykN1ki
Screenshots :
Any suggestion/critics are welcome and appreciated, please enjoy my API
Edited by ThePH, 04 April 2013 - 04:49 AM.