From b85471a5b84f0837611fb47be35ee713139f702f Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 9 Sep 2021 20:22:33 +0300 Subject: Mobile: Working on dialogs The new panels maker offers a declarative solution for creating consistent UIs. --- src/ui/mobile.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ui/mobile.h') diff --git a/src/ui/mobile.h b/src/ui/mobile.h index 5e2d8957..4d742a0a 100644 --- a/src/ui/mobile.h +++ b/src/ui/mobile.h @@ -27,7 +27,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ iDeclareType(Widget) iDeclareType(MenuItem) -iWidget * makePanels_Mobile (const iMenuItem *itemsNullTerminated); +iBool isUsingPanelLayout_Mobile (void); +iWidget * makePanels_Mobile (const char *id, + const iMenuItem *itemsNullTerminated, + const iMenuItem *actions, size_t numActions); void setupMenuTransition_Mobile (iWidget *menu, iBool isIncoming); void setupSheetTransition_Mobile (iWidget *sheet, iBool isIncoming); -- cgit v1.2.3