adds an option to a menu, returns a newuiSheet object to add user interface to.
| 957 | |
| 958 | // adds an option to a menu, returns a newuiSheet object to add user interface to. |
| 959 | void newuiMenu::AddSimpleOption(int16_t id, const char *title, int yoff) { |
| 960 | newuiMenu::AddOption(id, title, 0, false, yoff); |
| 961 | } |
| 962 | |
| 963 | newuiSheet *newuiMenu::AddOption(int16_t id, const char *title, int size, bool has_sheet, int yoff) { |
| 964 | newuiMenuOptionButton *last_btn = NULL; |
no outgoing calls
no test coverage detected