MiniGUI API Reference (MiniGUI-Threads)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros | Functions
Global Rectangles

Macros

#define g_rcScr   (GetScreenRect())
 Contains the rectangle of the whole screen. More...
 
#define g_rcDesktop   g_rcScr
 Contains the rectangle of desktop of the application. More...
 

Functions

MG_EXPORT RECT GUIAPI GetScreenRect (void)
 Return the rectangle of the physical screen. More...
 

Detailed Description

Macro Definition Documentation

◆ g_rcDesktop

#define g_rcDesktop   g_rcScr

Contains the rectangle of desktop of the application.

Note
This global variable is defined as an alias (macro) of g_rcScr.
See also
g_rcScr

Definition at line 198 of file minigui.h.

◆ g_rcScr

#define g_rcScr   (GetScreenRect())

Contains the rectangle of the whole screen.

Note
Since 5.0.0, g_rcScr is defined a macro to call GetScreenRect.

Definition at line 188 of file minigui.h.

Function Documentation

◆ GetScreenRect()

RECT GUIAPI GetScreenRect ( void  )

Return the rectangle of the physical screen.

Since 5.0.0