Functions | |
| def | get_size |
| def | parse_color |
| def | parse_params |
| def | parse_element |
| def | parse_file |
This class parses a xml in order to get the description of the user interface of the game.
| def parsing.gui_parser.get_size | ( | size_tag | ) |
Gets the size of the widget.
| def parsing.gui_parser.parse_color | ( | color_tag | ) |
Parses any color description, which is always defined the same way, with R, G, B and alpha tags.
| def parsing.gui_parser.parse_element | ( | element_tag | ) |
Parses an Element Field of the xml file.
| def parsing.gui_parser.parse_params | ( | params_tag | ) |
Parses the ```Params``` tag from an element. The only expected param is the size. The other depends on the tag.
1.7.6.1