diff options
| author | Olle Rosenquist <phobos99@gmail.com> | 2007-07-22 11:53:15 +0000 |
|---|---|---|
| committer | Olle Rosenquist <phobos99@gmail.com> | 2007-07-22 11:53:15 +0000 |
| commit | 26dd1c20cee2bf814396cb941c6aea68e63d664f (patch) | |
| tree | 96b2ab24e5d5e59ba5b1108b6db090aa93e5c801 /src/game/client/menu.h | |
| parent | 2165a728c25d804128933408cd8753c333be9ed3 (diff) | |
| download | zcatch-26dd1c20cee2bf814396cb941c6aea68e63d664f.tar.gz zcatch-26dd1c20cee2bf814396cb941c6aea68e63d664f.zip | |
Updated stuff
Diffstat (limited to 'src/game/client/menu.h')
| -rw-r--r-- | src/game/client/menu.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/game/client/menu.h b/src/game/client/menu.h new file mode 100644 index 00000000..0a8c1fe3 --- /dev/null +++ b/src/game/client/menu.h @@ -0,0 +1,17 @@ +#ifndef __MENU_H +#define __MENU_H + +extern int cursor_texture; + +void draw_image_button(void *id, const char *text, int checked, float x, float y, float w, float h, void *extra); +void draw_single_part_button(void *id, const char *text, int checked, float x, float y, float w, float h, void *extra); +void draw_menu_button(void *id, const char *text, int checked, float x, float y, float w, float h, void *extra); +void draw_teewars_button(void *id, const char *text, int checked, float x, float y, float w, float h, void *extra); +int ui_do_key_reader(void *id, float x, float y, float w, float h, int key); +int ui_do_combo_box(void *id, float x, float y, float w, char *lines, int line_count, int selected_index); +int ui_do_edit_box(void *id, float x, float y, float w, float h, char *str, int str_size); +int ui_do_check_box(void *id, float x, float y, float w, float h, int value); +int do_scroll_bar_horiz(void *id, float x, float y, float width, int steps, int last_index); +int do_scroll_bar_vert(void *id, float x, float y, float height, int steps, int last_index); + +#endif \ No newline at end of file |