more description words; remove release notes for 4.0.x

This commit is contained in:
Vincent Wei
2020-03-09 17:46:14 +08:00
parent 2306767fd7
commit 198e971fbd
4 changed files with 268 additions and 984 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1339,7 +1339,7 @@ MG_EXPORT BOOL GUIAPI InitPolygonRegion (PCLIPRGN dst,
*
* However, under MiniGUI-Processes with compositing schema, HDC_SCREEN
* stands for a global shared surface for wallpaper pattern. This surface
* is the ONLY surface that can be accessed by all processess (including
* is the ONLY surface that can be accessed by all processes (including
* the server and all clients) under compositing schema.
*
* This surface will have the same pixel format as the real screen.
@@ -1350,15 +1350,15 @@ MG_EXPORT BOOL GUIAPI InitPolygonRegion (PCLIPRGN dst,
* in it.
*
* On the other hand, you can configure MiniGUI to create a smaller
* surface than the whole screen as the underlaying surface of HDC_SCREEN,
* surface than the whole screen as the underlying surface of HDC_SCREEN,
* and the compositor may use it as a pattern to tile the content
* to the whole wallpaer. You can use the key
* to the whole wallpaper. You can use the key
* `compositing_schema.wallpaper_pattern_size` to specify the pattern size,
* i.e., the size of HDC_SCREEN, in runtime configuration.
*
* Because of the change of HDC_SCREEN's connotation, you should avoid
* to use \a GetGDCapability to determine the screen resolution. Instead,
* you use the global variable/macro \a g_rcScr or \a the functioin
* you use the global variable/macro \a g_rcScr or \a the function
* GetScreenRect();
*
* \sa HDC_SCREEN_SYS, GetScreenRect

View File

@@ -4410,6 +4410,13 @@ MG_EXPORT SRVEVTHOOK GUIAPI SetServerEventHook (SRVEVTHOOK SrvEvtHook);
* an internal window object, so no API is provided for app to create or
* manage it.
*
* Note that, under MiniGUI-Processes runtime mode, only the first client
* creates the first main window in a z-order level other than higher and
* normal levels can create another main window in the same z-order level.
* And only the server can create a main window in the global z-order level.
*
* This is a security design for the multi-process runtime environment.
*
* @{
*/

View File

@@ -191,7 +191,7 @@ struct GAL_VideoDevice {
/* Move hardware cursor to new position.
Set to NULL or return -1 if no hardware cursor support. */
int (*MoveCursor)(_THIS, int x, int y);
#endif
#endif /* IS_COMPOSITING_SCHEMA */
/* Set the hardware accelerated blit function, if any, based
on the current flags of the surface (colorkey, alpha, etc.)