MiniGUI API Reference (MiniGUI-Processes)
v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Data Structures | |
struct | _MG_Client |
struct | _MG_Layer |
Macros | |
#define | LEN_LAYER_NAME 14 |
The maximum length of name of layer in MiniGUI-Processes. More... | |
#define | LEN_CLIENT_NAME 14 |
The maximum length of name of client in MiniGUI-Processes. More... | |
#define | INV_LAYER_HANDLE 0 |
Invalid handle value of the layer. More... | |
Typedefs | |
typedef struct _MG_Client | MG_Client |
typedef struct _MG_Layer | MG_Layer |
Variables | |
MG_EXPORT BOOL | mgIsServer |
Indicates whether the process is the server or a client on MiniGUI-Processes. More... | |
MG_EXPORT void * | mgSharedRes |
Contains the pointer to the shared resource of MiniGUI-Processes. More... | |
MG_EXPORT size_t | mgSizeRes |
Contains the length of shared resource of MiniGUI-Processes. More... | |
MG_EXPORT int | mgClientSize |
The current size of the array mgClients. More... | |
MG_EXPORT MG_Client * | mgClients |
The pointer to the array contains all clients' information. More... | |
MG_EXPORT MG_Layer * | mgTopmostLayer |
The pointer to the topmost layer. More... | |
MG_EXPORT MG_Layer * | mgLayers |
The pointer to the array of layers. More... | |
#define INV_LAYER_HANDLE 0 |
#define LEN_CLIENT_NAME 14 |
#define LEN_LAYER_NAME 14 |
typedef struct _MG_Client MG_Client |
Client information.
MG_Client * mgClients |
The pointer to the array contains all clients' information.
You can access the elements in mgClients as a normal array. If the field fd of one element is not less than zero, then the element will be a vaild client.
int mgClientSize |
The current size of the array mgClients.
BOOL mgIsServer |
Indicates whether the process is the server or a client on MiniGUI-Processes.
void * mgSharedRes |
Contains the pointer to the shared resource of MiniGUI-Processes.
void * mgSizeRes |
Contains the length of shared resource of MiniGUI-Processes.