mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-10-02 18:22:55 +08:00
cleanup
This commit is contained in:
+18
-18
@@ -85,45 +85,45 @@ extern MG_LOCAL BITMAP g_license_bitmaps[];
|
||||
#define g_bitmap_progressbar g_license_bitmaps[SPLASH_PROGRESSBAR]
|
||||
#define g_bitmap_progressbar_bk g_license_bitmaps[SPLASH_PROGRESSBAR_BK]
|
||||
|
||||
MG_LOCAL void license_create(void);
|
||||
MG_LOCAL void license_destroy(void);
|
||||
MG_LOCAL void __mg_license_create(void);
|
||||
MG_LOCAL void __mg_license_destroy(void);
|
||||
|
||||
#else
|
||||
# define license_create() /* NULL */
|
||||
# define license_destroy() /* NULL */
|
||||
# define __mg_license_create() /* NULL */
|
||||
# define __mg_license_destroy() /* NULL */
|
||||
#endif /* endif _MG_ENABLE_SPLASH or _MG_ENABLE_SCREENSAVER or _MG_ENABLE_WATERMARK*/
|
||||
|
||||
|
||||
#ifdef _MG_ENABLE_SCREENSAVER
|
||||
MG_LOCAL void screensaver_create(void);
|
||||
MG_LOCAL void screensaver_destroy(void);
|
||||
MG_LOCAL void __mg_screensaver_create(void);
|
||||
MG_LOCAL void __mg_screensaver_destroy(void);
|
||||
#else
|
||||
# define screensaver_create() /* NULL */
|
||||
# define screensaver_destroy() /* NULL */
|
||||
# define __mg_screensaver_create() /* NULL */
|
||||
# define __mg_screensaver_destroy() /* NULL */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Splash
|
||||
*/
|
||||
#ifdef _MG_ENABLE_SPLASH
|
||||
MG_LOCAL void splash_draw_framework(void);
|
||||
MG_LOCAL void splash_progress(void);
|
||||
MG_LOCAL void splash_delay(void);
|
||||
MG_LOCAL void __mg_splash_draw_framework(void);
|
||||
MG_LOCAL void __mg_splash_progress(void);
|
||||
MG_LOCAL void __mg_splash_delay(void);
|
||||
#else
|
||||
# define splash_draw_framework() /* NULL */
|
||||
# define splash_progress() /* NULL */
|
||||
# define splash_delay() /* NULL */
|
||||
# define __mg_splash_draw_framework() /* NULL */
|
||||
# define __mg_splash_progress() /* NULL */
|
||||
# define __mg_splash_delay() /* NULL */
|
||||
#endif /* endif _MG_ENABLE_SPLASH */
|
||||
|
||||
/*
|
||||
* ScreenSaver & Watermark
|
||||
*/
|
||||
#if defined(_MG_ENABLE_SCREENSAVER) || defined(_MG_ENABLE_WATERMARK)
|
||||
MG_LOCAL void license_on_input(void);
|
||||
MG_LOCAL void license_on_timeout(void);
|
||||
MG_LOCAL void __mg_license_on_input(void);
|
||||
MG_LOCAL void __mg_license_on_timeout(void);
|
||||
#else
|
||||
# define license_on_input() /* NULL */
|
||||
# define license_on_timeout() /* NULL */
|
||||
# define __mg_license_on_input() /* NULL */
|
||||
# define __mg_license_on_timeout() /* NULL */
|
||||
#endif /* _MG_ENABLE_SCREENSAVER || _MG_ENABLE_WATERMARK */
|
||||
|
||||
/*
|
||||
|
||||
@@ -85,17 +85,19 @@ typedef MASKRECT* PMASKRECT;
|
||||
#define ZOF_TYPE_FLAG_MASK 0xFFF00000
|
||||
|
||||
#define ZOF_TYPE_MASK 0xF0000000
|
||||
#define ZOF_TYPE_DOCKER 0x60000000 /* Since 4.2.0 */
|
||||
#define ZOF_TYPE_DESKTOP 0x50000000
|
||||
#define ZOF_TYPE_MENU 0x40000000
|
||||
#define ZOF_TYPE_GLOBAL 0x30000000
|
||||
#define ZOF_TYPE_TOPMOST 0x20000000
|
||||
#define ZOF_TYPE_NORMAL 0x10000000
|
||||
#define ZOF_TYPE_MENU 0x10000000
|
||||
#define ZOF_TYPE_SCREENLOCK 0x20000000 /* Since 4.2.0; fixed and only one */
|
||||
#define ZOF_TYPE_DOCKER 0x30000000 /* Since 4.2.0; fixed and only one */
|
||||
#define ZOF_TYPE_GLOBAL 0x40000000
|
||||
#define ZOF_TYPE_TOPMOST 0x50000000
|
||||
#define ZOF_TYPE_NORMAL 0x60000000
|
||||
#define ZOF_TYPE_LAUNCHER 0x70000000 /* Since 4.2.0; fixed and only one */
|
||||
#define ZOF_TYPE_DESKTOP 0x80000000 /* fixed and only one */
|
||||
|
||||
#define ZOF_TF_FLAG_MASK 0x0F000000
|
||||
#define ZOF_TF_MAINWIN 0x01000000
|
||||
#define ZOF_TF_TOOLWIN 0x02000000
|
||||
#define ZOF_TF_STUCK 0x04000000
|
||||
#define ZOF_TF_ALWAYSTOP 0x04000000
|
||||
|
||||
#define ZOF_TW_FLAG_MASK 0x00F00000
|
||||
#define ZOF_TW_TBROUNDCNS 0x00300000
|
||||
|
||||
Reference in New Issue
Block a user