diff options
| author | Simon <simon@hardwired.org.uk> | 2011-04-04 19:02:11 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2011-04-04 19:02:11 (GMT) |
| commit | 8872a1065bc801dcf284aa97bf85a5d16d312e5b (patch) | |
| tree | 9308c3c2795ec64c195b48751b1fd5bfa9ddd556 /includes/interface.h | |
| parent | 078db03a52847e67debebea022b0301c10d0655b (diff) | |
| download | powder-8872a1065bc801dcf284aa97bf85a5d16d312e5b.zip powder-8872a1065bc801dcf284aa97bf85a5d16d312e5b.tar.gz | |
Move copybox into its own control
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 5bd411d..0cef471 100644 --- a/includes/interface.h +++ b/includes/interface.h @@ -82,6 +82,14 @@ struct ui_edit }; typedef struct ui_edit ui_edit; +struct ui_copytext +{ + int x, y, width, height; + char text[256]; + int state, hover; +}; +typedef struct ui_copytext ui_copytext; + struct save_info { char *title; @@ -171,6 +179,10 @@ 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); +void ui_copytext_draw(pixel *vid_buf, ui_copytext *ed); + +void ui_copytext_process(int mx, int my, int mb, int mbq, ui_copytext *ed); + void draw_svf_ui(pixel *vid_buf); void error_ui(pixel *vid_buf, int err, char *txt); |
