diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-17 09:00:40 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-07-17 09:00:40 +0300 |
commit | 3528bb86ab14c275c41adc7cfa29a5f5eb167ff2 (patch) | |
tree | 4b93b0f2bb9718408d4b855d1f8b8ed17a3e690f /src/ui/util.h | |
parent | 7e536572b602cba180ad4e85bd9c071479f6fa22 (diff) |
Working on a UI for uploading text/data
`UploadWidget` allows entering long-form text or dropping a file for uploading.
InputWidget isn't yet well suited for really long documents... Some optimizations will be needed.
Diffstat (limited to 'src/ui/util.h')
-rw-r--r-- | src/ui/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/util.h b/src/ui/util.h index 43aeb172..5b02a4b3 100644 --- a/src/ui/util.h +++ b/src/ui/util.h | |||
@@ -242,6 +242,8 @@ iLabelWidget * makeMenuButton_LabelWidget (const char *label, const iMenuItem | |||
242 | 242 | ||
243 | iWidget * makeTabs_Widget (iWidget *parent); | 243 | iWidget * makeTabs_Widget (iWidget *parent); |
244 | void appendTabPage_Widget (iWidget *tabs, iWidget *page, const char *label, int key, int kmods); | 244 | void appendTabPage_Widget (iWidget *tabs, iWidget *page, const char *label, int key, int kmods); |
245 | iWidget * appendTwoColumnTabPage_Widget(iWidget *tabs, const char *title, int shortcut, iWidget **headings, | ||
246 | iWidget **values); | ||
245 | void prependTabPage_Widget (iWidget *tabs, iWidget *page, const char *label, int key, int kmods); | 247 | void prependTabPage_Widget (iWidget *tabs, iWidget *page, const char *label, int key, int kmods); |
246 | iWidget * removeTabPage_Widget (iWidget *tabs, size_t index); /* returns the page */ | 248 | iWidget * removeTabPage_Widget (iWidget *tabs, size_t index); /* returns the page */ |
247 | void resizeToLargestPage_Widget (iWidget *tabs); | 249 | void resizeToLargestPage_Widget (iWidget *tabs); |
@@ -258,7 +260,9 @@ size_t tabCount_Widget (const iWidget *tabs); | |||
258 | /*-----------------------------------------------------------------------------------------------*/ | 260 | /*-----------------------------------------------------------------------------------------------*/ |
259 | 261 | ||
260 | iWidget * makeSheet_Widget (const char *id); | 262 | iWidget * makeSheet_Widget (const char *id); |
263 | void useSheetStyle_Widget (iWidget *); | ||
261 | iWidget * makeDialogButtons_Widget (const iMenuItem *actions, size_t numActions); | 264 | iWidget * makeDialogButtons_Widget (const iMenuItem *actions, size_t numActions); |
265 | iWidget * makeTwoColumns_Widget (iWidget **headings, iWidget **values); | ||
262 | 266 | ||
263 | iInputWidget *addTwoColumnDialogInputField_Widget(iWidget *headings, iWidget *values, | 267 | iInputWidget *addTwoColumnDialogInputField_Widget(iWidget *headings, iWidget *values, |
264 | const char *labelText, const char *inputId, | 268 | const char *labelText, const char *inputId, |