MiniGUI API Reference (MiniGUI-Processes)  v5.0.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Modules | Macros | Functions
Global/general functions

Modules

 General read/write operations
 
 Endian specific read/write interfaces
 
 Fixed point math functions
 
 Block data heap operations
 
 MiniGUI-Processes specific functions
 
 Initialization and termination functions
 
 Mouse calibration.
 
 About MiniGUI dialog
 
 Configuration file operations
 
 Length-Fixed string operations
 
 Cursor operations
 
 Asynchronous key status functions
 
 Internationlization of system text
 
 String operation helpers
 
 Slice Memory Allocator
 
 Miscellaneous functions
 
 ClipBoard Operations
 

Macros

#define NAME_SELF_LAYER   ""
 The name of the self layer. More...
 
#define NAME_TOPMOST_LAYER   ""
 The name of the topmost layer. More...
 
#define NAME_DEF_LAYER   "mginit"
 The default name of the layer. More...
 

Functions

MG_EXPORT int GUIAPI InitGUI (int argc, const char *argv[])
 Initialize MiniGUI. More...
 
MG_EXPORT void GUIAPI TerminateGUI (int not_used)
 Terminate MiniGUI. More...
 
MG_EXPORT void GUIAPI MiniGUIPanic (int exitcode)
 The panic of MiniGUI application. More...
 

Detailed Description

Macro Definition Documentation

◆ NAME_DEF_LAYER

#define NAME_DEF_LAYER   "mginit"

The default name of the layer.

Definition at line 423 of file minigui.h.

◆ NAME_SELF_LAYER

#define NAME_SELF_LAYER   ""

The name of the self layer.

Definition at line 411 of file minigui.h.

◆ NAME_TOPMOST_LAYER

#define NAME_TOPMOST_LAYER   ""

The name of the topmost layer.

Definition at line 417 of file minigui.h.

Function Documentation

◆ InitGUI()

int GUIAPI InitGUI ( int  argc,
const char *  argv[] 
)

Initialize MiniGUI.

The meaning of two parameters is same with parameters of main function.

◆ MiniGUIPanic()

void GUIAPI MiniGUIPanic ( int  exitcode)

The panic of MiniGUI application.

The function forces to close GAL and IAL engine.

Parameters
exitcodeThe value of exitcode, now it can be any values.

◆ TerminateGUI()

void GUIAPI TerminateGUI ( int  not_used)

Terminate MiniGUI.

Parameters
not_usednot used