Chili: Difference between revisions
No edit summary |
Silentwings (talk | contribs) m fix hierachy |
||
| Line 17: | Line 17: | ||
object | object | ||
|_screen | |_screen | ||
|_control | |_control | ||
|_button | |_button | ||
|_checkbox | |_checkbox | ||
|_colorbars | |_colorbars | ||
|_combobox | |_combobox | ||
|_editbox | |_editbox | ||
|_font | |||
|_label | |_label | ||
|_layoutpanel | |_layoutpanel | ||
| Line 33: | Line 32: | ||
|_treeview | |_treeview | ||
|_line | |_line | ||
|_image | |||
|_multiprogressbar | |_multiprogressbar | ||
|_panel | |_panel | ||
Revision as of 17:05, 30 August 2015
Chili UI
ChiliUi is a framework still in development by author JK. It's a very flexible class based framework, with it's structure derived from Delphi. It has most of the basic components you expect a framework like for example Swing in java must have. It might feel a bit daunting at first to get started but with a little reverse engineering and this tutorial page you'll get a long way !
Getting Chili
Download it , and put the extracted files in LuaUi/widgets. It should run out of the box, but user experiences have been conflicted on that. If you are in trouble getting Chili to run, I advice to login to the lobby and join /j moddev. People there will help you figure it out.
Here are some hints that helped me get a vanilla ChiliUI running as of Spring 94.x.
- Create an empty file called lockluaui.txt in the gamedata folder of your game
- Copy main.lua and widgets.lua from the spring /luaUi folder to your games /luaUi folder
This helped me getting started again with a vanilla spring and chiliui install !
Chili Component Hiearchy
object |_screen |_control |_button |_checkbox |_colorbars |_combobox |_editbox |_font |_label |_layoutpanel |_imagelistview |_grid |_stackpanel |_treeview |_line |_image |_multiprogressbar |_panel |_progressbar |_scrollpanel |_tabpanel |_textbox |_trackbar |_treeview |_treeviewnode |_window
Tutorials
Lesson 2 : Dynamicly change label content
Lesson 3 : Command and Build commands in a chili window
Chili documentation
API documentation: http://gajop.github.io/chiliui/