Commit Graph
1336 Commits
Author SHA1 Message Date
Vincent Wei 2727e0c2db tune code for virtual window 2020-02-15 23:02:51 +08:00
Vincent Wei a12b75cd1b tune code for virtual window 2020-02-15 23:01:27 +08:00
Vincent Wei 59677752a7 tune code for virtual window 2020-02-15 22:53:08 +08:00
Vincent Wei 0ee62da119 tune code for virtual window 2020-02-15 22:51:56 +08:00
Vincent Wei 9d21d8a549 tune MainWindowThreadCleanup and MainWindowCleanup 2020-02-15 22:50:43 +08:00
Vincent Wei f1f49032b9 tune code for virtual window; rename pMessages -> pMsgQueue 2020-02-15 18:22:48 +08:00
Vincent Wei c5df42a44b implement CreateThreadForMessaging, GetThreadByWindow, CreateVirtualWindow, DestroyVirtualWindow, and VirtualWindowCleanup; move GetMainWinThread from desktop-ths.c to window.c 2020-02-15 18:22:14 +08:00
Vincent Wei 7f7b769660 tune for virtual window 2020-02-15 18:20:20 +08:00
Vincent Wei f7dd21c9cb tune and cleanup 2020-02-15 12:44:54 +08:00
Vincent Wei ca01773775 description words for virtual window; declare CreateThreadForMessaging, GetThreadByWindow, and VirtualWindowCleanup 2020-02-15 12:44:23 +08:00
Vincent Wei 32d5aa068b make --enable-virtualwindow available for standalone runmode 2020-02-15 12:40:45 +08:00
Vincent Wei 3b639d59d7 cleanup 2020-02-14 22:43:13 +08:00
Vincent Wei 0b3450bf97 move mg_InitMsgQueueThisThread, mg_FreeMsgQueueThisThread, and __mg_threadinfo_key to kernel/message.c 2020-02-14 22:41:22 +08:00
Vincent Wei aadcdfca83 tune WS_EX_WINTYPE_XXX to avoid conflict with WS_EX_INTERAL_MASK; declare CreateVirtualWindow and DestroyVirtuWindow; tune some description word 2020-02-14 22:39:53 +08:00
Vincent Wei 0b0a50791b tune VIRTWIN, MAINWIN, and MSGQUEUE structures 2020-02-14 22:37:44 +08:00
Vincent Wei ae40205947 tune CONTROL structure 2020-02-14 22:36:47 +08:00
Vincent Wei 54a269d389 add new configuration option: virtualwindow 2020-02-14 22:35:51 +08:00
Vincent Wei 48caa7cde0 adjust WINDOWINFO, CONTROL, and MAINWIN structures for virtual window; remove iFgColor field in CONTROL, MAINWIN, and CTRLCLASSINFO; add VIRTWIN structure 2020-02-14 17:53:03 +08:00
Vincent Wei 21160fb01d rename internal symbols for better coding style 2020-02-14 12:54:54 +08:00
Vincent Wei 6745220e84 fix a bug of dskScrollMainWindow for compositing schema 2020-02-13 21:54:58 +08:00
Vincent Wei 3bbdd9d647 UPDATERGIN -> -UPDATERGN 2020-02-13 21:54:29 +08:00
Vincent Wei 96a90aa73b Use client DC instead of HDC_SCREEN_SYS to get the caret bitmaps 2020-02-13 21:53:48 +08:00
Vincent Wei 35ae59cfec add version info of mgeff package 2020-02-13 21:12:14 +08:00
Vincent Wei b9586ed96b tune 2020-02-13 20:53:54 +08:00
Vincent Wei 1347fa020b Use pWin->pMainWin->left and pWin->pMainWin->top to calculate 2020-02-13 20:52:46 +08:00
Vincent Wei af794cb523 add inline dump_rect 2020-02-13 20:52:23 +08:00
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