Commit Graph
1310 Commits
Author SHA1 Message Date
Vincent Wei ded48a69ea tune 2020-02-13 20:52:03 +08:00
Vincent Wei 0a2b9749bd fix a bug in FreeZOrderNodeEx 2020-02-13 20:51:29 +08:00
Vincent Wei 725b7eecb1 fix a bug of PCXVFB_MoveCursor 2020-02-13 12:37:57 +08:00
Vincent Wei cc9d420a71 tune SyncUpdate and fix a bug of ShowCurosr(FALSE) for hardware cursor 2020-02-13 12:37:26 +08:00
Vincent Wei 11c8cd43ef only check pdc->surface->dirty_info for wallpaper patter when it is not empty 2020-02-13 12:36:08 +08:00
Vincent Wei 31d43fd4e8 define or undefine _MGSCHEMA_SHAREDFB for all runmodes 2020-02-13 12:34:18 +08:00
Vincent Wei e2687724b7 call GAL_SyncUpdate in kernel_ShowCursorForGDI when showing cursor 2020-02-13 10:44:28 +08:00
Vincent Wei c5c31a2030 tune description words 2020-02-13 10:43:35 +08:00
Vincent Wei a0d747fcc6 call SyncUpdateDC in __mg_update_secondary_dc 2020-02-12 23:41:41 +08:00
Vincent Wei d136f23dc4 call SyncUpdateDC or GAL_SyncUpdate for cursor and dc_desktop 2020-02-12 23:23:10 +08:00
Vincent Wei 22b9609a8a use mg_slice_delete instead of free for CURSOR objects 2020-02-12 22:16:54 +08:00
Vincent Wei db68c34b27 _MGUSE_SYNC_UPDATE -> _MGUSE_UPDATE_REGION 2020-02-12 21:53:50 +08:00
Vincent Wei 6bec1b2f84 implement SyncUpdate method 2020-02-12 21:53:25 +08:00
Vincent Wei e0364e5031 add field to store the dirty bound rectangle for SyncUpdate method 2020-02-12 21:53:14 +08:00
Vincent Wei b985c4976a add SyncUpdate method 2020-02-12 21:51:46 +08:00
Vincent Wei ce81d223ce restore calls of GAL_SyncUpdate without conditional compilation 2020-02-12 21:50:45 +08:00
Vincent Wei ba1bf265a2 always call SyncUpdateDC for change of popup menus 2020-02-12 21:49:15 +08:00
Vincent Wei 8e6ffda4a8 always implement SyncUpdateDC and SyncUpdateSurface 2020-02-12 21:46:02 +08:00
Vincent Wei 8b16889136 syncupdate -> updateregion; _MGUSE_SYNC_UPDATE -> _MGUSE_UPDATE_REGION 2020-02-12 21:45:32 +08:00
Vincent Wei b0d99d63c8 remove bad rgn assertion 2020-02-12 18:27:05 +08:00
Vincent Wei cf09f73f4c do not lock draw sem when not using sync update 2020-02-12 18:26:47 +08:00
Vincent Wei 92d36bdb20 use MSG_CSIZECHANGED message instead of MSG_SIZECHANGED to move the button 2020-02-12 18:15:59 +08:00
Vincent Wei 169e163202 cleanup 2020-02-12 17:58:41 +08:00
Vincent Wei c3d869e62d allocate znodes for fixed main windows 2020-02-12 17:56:51 +08:00
Vincent Wei 0b1fadec95 debug.h 2020-02-12 17:54:05 +08:00
Vincent Wei dc100bc7bc initial commit; dump_region 2020-02-12 17:53:45 +08:00
Vincent Wei df2d74fb0a use GetWindowElementPixelEx instead of GetWindowElementPixel or GetWindowElementColor 2020-02-12 13:26:01 +08:00
Vincent Wei 575ef72246 tune and cleanup 2020-02-12 11:38:28 +08:00
Vincent Wei d2f9a9a857 use palette when passed a valid pal argument 2020-02-12 11:34:07 +08:00
Vincent Wei 1b05430a61 use __mg_get_common_rgba8888_dc; use mg_slice_new/mg_slice_delete for CURSOR objects instead of malloc/free 2020-02-12 11:29:55 +08:00
Vincent Wei 3f25347a2e tune implementation of CreateIconEx and DrawIcon; implement LoadBitmapIconEx, LoadBitmapIconFromFile, and LoadBitmapIconFromMem 2020-02-12 11:29:05 +08:00
Vincent Wei 7dee411aaa implement __mg_get_common_rgba8888_dc and __mg_reset_common_rgba8888_dc 2020-02-12 11:27:24 +08:00
Vincent Wei 8b81d71c5a change ICON structure: we always decode an icon into RGBA8888 compliant pixels 2020-02-12 11:26:49 +08:00
Vincent Wei 8900845cf1 declare __mg_get_common_rgba8888_dc and __mg_reset_common_rgba8888_dc 2020-02-12 11:26:21 +08:00
Vincent Wei 5c920f3732 tune description words; declare LoadBitmapIconEx, LoadBitmapIconFromFile, and LoadBitmapIconFromMem 2020-02-12 11:26:00 +08:00
Vincent Wei 7635e41d25 do not call kernel_ReShowCursor for compositing schema 2020-02-11 23:59:53 +08:00
Vincent Wei 084babc389 cleanup 2020-02-11 23:59:20 +08:00
Vincent Wei c27afc62dd do not use dwBkColor if surf_flag has ST_PIXEL_DEFAULT 2020-02-11 23:58:38 +08:00
Vincent Wei 46d30558b1 use RGBA_xxx instead of COLOR_xxxx 2020-02-11 21:20:18 +08:00
Vincent Wei 53033675ad cleanup and fix conditional compilation errors 2020-02-11 21:01:48 +08:00
Vincent Wei 62d9c39ac6 restore original definitions of COLOR_xxx macros; add new RGBA_xxx macros 2020-02-11 21:01:23 +08:00
Vincent Wei b7965b3940 use dwBkColor for compositing schema 2020-02-11 18:09:30 +08:00
Vincent Wei b7f1c15a2a add enum for indexes of system standard colors 2020-02-11 18:08:10 +08:00
Vincent Wei dd502454ee add surf_flag to GAL_CreateSurfaceForZNode; declare GAL_CreateSurfaceForZNodeAs 2020-02-11 18:07:16 +08:00
Vincent Wei 71fd40831f add dwBkColor for compositing schema; change prototype of CreateMainWindowEx2; declare DWORD2PixelByWindow 2020-02-11 18:06:28 +08:00
Vincent Wei 76efcc3d3e tune code for change of GAL_CreateSurfaceForZNode 2020-02-11 18:03:46 +08:00
Vincent Wei 36fbbdecda Enhance CreateMainWindowEx2 to handle surface flag.
Implement DWORD2PixelByWindow.
Use dwBkColor for compositing schema.
2020-02-11 18:01:45 +08:00
Vincent Wei 08cadfd991 use GAL_CreateSurfaceForZNodeAs instead of GAL_CreateSurfaceForZNode 2020-02-11 17:58:04 +08:00
Vincent Wei 52a6b1ec87 cleanup 2020-02-11 17:57:22 +08:00
Vincent Wei 482eaa2535 tune for compositing schema 2020-02-11 17:56:51 +08:00