diff options
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); |
