summaryrefslogtreecommitdiff
path: root/src/ui/util.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-16 13:21:36 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-16 13:21:36 +0300
commit97f9a1c9bf49ca67fe1f99c57aa70e0bdf64a466 (patch)
treeb680da6408f78c4555edf3f6b9e86c6ce8925a53 /src/ui/util.h
parent19f29bc4382b3dfe9d3c21ddabd5501919c76566 (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.h4
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
258iWidget * makeSheet_Widget (const char *id); 260iWidget * makeSheet_Widget (const char *id);
259void finalizeSheet_Widget (iWidget *sheet);
260void setupSheetTransition_Widget (iWidget *sheet, iBool isIncoming);
261iWidget * makeDialogButtons_Widget (const iMenuItem *actions, size_t numActions); 261iWidget * makeDialogButtons_Widget (const iMenuItem *actions, size_t numActions);
262 262
263iInputWidget *addTwoColumnDialogInputField_Widget(iWidget *headings, iWidget *values, 263iInputWidget *addTwoColumnDialogInputField_Widget(iWidget *headings, iWidget *values,