diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-16 13:21:36 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-16 13:21:36 +0300 |
commit | 97f9a1c9bf49ca67fe1f99c57aa70e0bdf64a466 (patch) | |
tree | b680da6408f78c4555edf3f6b9e86c6ce8925a53 /src/ui/util.h | |
parent | 19f29bc4382b3dfe9d3c21ddabd5501919c76566 (diff) |
Cleanup: Moved mobile UI code to its own file
The mobile UI related code has grown large enough to warrant a separate file.
Also, work-in-progress redo of the Preferences layout so it can be used with landscape as well.
Diffstat (limited to 'src/ui/util.h')
-rw-r--r-- | src/ui/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/util.h b/src/ui/util.h index 6185945f..43aeb172 100644 --- a/src/ui/util.h +++ b/src/ui/util.h | |||
@@ -22,6 +22,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
22 | 22 | ||
23 | #pragma once | 23 | #pragma once |
24 | 24 | ||
25 | #include "mobile.h" | ||
26 | |||
25 | #include <the_Foundation/string.h> | 27 | #include <the_Foundation/string.h> |
26 | #include <the_Foundation/rect.h> | 28 | #include <the_Foundation/rect.h> |
27 | #include <the_Foundation/vec2.h> | 29 | #include <the_Foundation/vec2.h> |
@@ -256,8 +258,6 @@ size_t tabCount_Widget (const iWidget *tabs); | |||
256 | /*-----------------------------------------------------------------------------------------------*/ | 258 | /*-----------------------------------------------------------------------------------------------*/ |
257 | 259 | ||
258 | iWidget * makeSheet_Widget (const char *id); | 260 | iWidget * makeSheet_Widget (const char *id); |
259 | void finalizeSheet_Widget (iWidget *sheet); | ||
260 | void setupSheetTransition_Widget (iWidget *sheet, iBool isIncoming); | ||
261 | iWidget * makeDialogButtons_Widget (const iMenuItem *actions, size_t numActions); | 261 | iWidget * makeDialogButtons_Widget (const iMenuItem *actions, size_t numActions); |
262 | 262 | ||
263 | iInputWidget *addTwoColumnDialogInputField_Widget(iWidget *headings, iWidget *values, | 263 | iInputWidget *addTwoColumnDialogInputField_Widget(iWidget *headings, iWidget *values, |