diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-11-12 16:24:21 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-11-12 16:24:21 (GMT) |
| commit | 2bd9d61ab5f26c11157214dfddd2927037d80008 (patch) | |
| tree | b7ea4015436733e40383922859aeb8fe3a8a291c /includes/interface.h | |
| parent | b9f15e16ccd6402bfeca4bd38f46b1381c22a62e (diff) | |
| download | powder-2bd9d61ab5f26c11157214dfddd2927037d80008.zip powder-2bd9d61ab5f26c11157214dfddd2927037d80008.tar.gz | |
Listbox for Property tool property field
Diffstat (limited to 'includes/interface.h')
| -rw-r--r-- | includes/interface.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/interface.h b/includes/interface.h index 4b02052..64d1352 100644 --- a/includes/interface.h +++ b/includes/interface.h @@ -114,6 +114,14 @@ struct ui_edit }; typedef struct ui_edit ui_edit; +struct ui_list +{ + int x, y, w, h; + char str[256],*def,**items; + int selected, focus, count; +}; +typedef struct ui_list ui_list; + struct ui_copytext { int x, y, width, height; @@ -234,6 +242,10 @@ void ui_edit_draw(pixel *vid_buf, ui_edit *ed); void ui_edit_process(int mx, int my, int mb, ui_edit *ed); +void ui_list_draw(pixel *vid_buf, ui_list *ed); + +void ui_list_process(pixel * vid_buf, int mx, int my, int mb, ui_list *ed); + void ui_checkbox_draw(pixel *vid_buf, ui_checkbox *ed); void ui_checkbox_process(int mx, int my, int mb, int mbq, ui_checkbox *ed); |
