From 3d7820f5dcda808b766990f1a6b96c42a4c70622 Mon Sep 17 00:00:00 2001
From: joostverburg
To configure a page, you can define the page settings before inserting a page macro.
General Page Settings
MUI_PAGE_HEADER_TEXT
+
MUI_PAGE_HEADER_TEXT text
Custom text to display on the header of the page.
MUI_PAGE_HEADER_SUBTEXT
+
MUI_PAGE_HEADER_SUBTEXT text
Custom subtext to display on the header of the page.
Welcome Page Settings
@@ -439,15 +439,7 @@ will also help you to learn more about the Modern UI. MUI_FONTSIZE_TITLE font_sizeCustomize other texts
-To customize button texts, use the following defines.
-
- MUI_BUTTONTEXT_BACK text
- MUI_BUTTONTEXT_NEXT text
- MUI_BUTTONTEXT_CANCEL text
-
Note: Page texts can be changed using page settings.
Language selection dialog
If you want add your own code to functions inserted by the Modern UI, such as the .onGUIInit function and the Page functions, create your own function and let the Modern UI functions call them. Use the defines - to define the name of your functions. Add the defines before the MUI_LANGUAGE macros.
+ to define the name of your functions.Example:
!define MUI_CUSTOMFUNCTION_GUIINIT myGuiInit @@ -657,16 +649,17 @@ FunctionEnd
General Custom Functions
MUI_CUSTOMFUNCTION_GUIINIT
- MUI_CUSTOMFUNCTION_UNGUIINIT
- MUI_CUSTOMFUNCTION_ABORT
These defines should be set before inserting a the language macros.
+MUI_CUSTOMFUNCTION_GUIINIT function
+ MUI_CUSTOMFUNCTION_UNGUIINIT function
+ MUI_CUSTOMFUNCTION_ABORT function
Page Custom Functions
These defines should be set before inserting a page macro.
-MUI_PAGE_CUSTOMFUNCTION_PRE
- MUI_PAGE_CUSTOMFUNCTION_SHOW
- MUI_PAGE_CUSTOMFUNCTION_LEAVE
MUI_PAGE_CUSTOMFUNCTION_PRE function
+ MUI_PAGE_CUSTOMFUNCTION_SHOW function
+ MUI_PAGE_CUSTOMFUNCTION_LEAVE function
Notes: