Commit Graph

74 Commits

Author SHA1 Message Date
Vincent Wei
16d3a63fbb rename get_valid_dc to get_effective_dc; rename release_valid_dc to release_effective_dc 2020-02-27 10:40:17 +08:00
Vincent Wei
28a4843b40 tune code for change of init operation of _DESKTOPOPS; use GetSystemBitmapEx2 instead of GetSystemBitmapEx; add a new desktop message MSG_REINITDESKOPS 2020-02-26 21:30:30 +08:00
Vincent Wei
dce4dadebf implement calculate default position for main windows 2020-02-26 12:25:54 +08:00
Vincent Wei
16503269fb detailed debug info for no free znode slot 2020-02-24 15:00:55 +08:00
Vincent Wei
2b55d9d0e5 donot use quiting stage 2020-02-22 19:35:11 +08:00
Vincent Wei
cf7cb4c831 timer_count -> tick_count; use __mg_update_tick_count; cleanup MSG_TIMER handling of desktop 2020-02-22 16:06:57 +08:00
Vincent Wei
864be6b36d tune code for no timer thread for MiniGUI-Threads runmode; remove mg_InstallIntervalTimer and mg_UninstallIntervalTimer, always use mg_InitTimer and mg_TerminateTimer instead 2020-02-21 12:54:24 +08:00
Vincent Wei
46197de302 call createThreadInfoKey and deleteThreadInfoKey in InitGUI and TerminateGUI 2020-02-20 18:33:14 +08:00
Vincent Wei
afed837806 ZOF_TYPE_TOPMOST -> ZOF_TYPE_HIGHER 2020-02-20 15:51:57 +08:00
Vincent Wei
bae0a64b6e cleanup 2020-02-20 12:41:16 +08:00
Vincent Wei
ab1dbb767a fix conditional compilation errors and tune 2020-02-19 22:12:54 +08:00
Vincent Wei
d24788134f tune code for eight levels of zorder nodes 2020-02-19 19:38:25 +08:00
Vincent Wei
dfae20dc5e implement dskRegisterMsgQueue, dskUnregisterMsgQueue, and __mg_join_all_message_threads 2020-02-18 22:22:19 +08:00
Vincent Wei
4c23130844 tune code for enhancement of event hook 2020-02-18 18:44:08 +08:00
Vincent Wei
2adb9954a8 tune __mg_def_proc 2020-02-17 16:20:25 +08:00
Vincent Wei
049a39548a move code handling hosting to window.c 2020-02-16 22:40:58 +08:00
Vincent Wei
f1f49032b9 tune code for virtual window; rename pMessages -> pMsgQueue 2020-02-15 18:22:48 +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
0a2b9749bd fix a bug in FreeZOrderNodeEx 2020-02-13 20:51:29 +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
169e163202 cleanup 2020-02-12 17:58:41 +08:00
Vincent Wei
df2d74fb0a use GetWindowElementPixelEx instead of GetWindowElementPixel or GetWindowElementColor 2020-02-12 13:26:01 +08:00
Vincent Wei
e926150d6b handle special main windows 2020-02-07 23:02:09 +08:00
Vincent Wei
d9e5043c12 comment out _cb_exclude_rc for compositing schema 2020-02-07 19:04:08 +08:00
Vincent Wei
472e132844 tune dskScrollMainWindow for compositing schema 2020-02-07 17:10:34 +08:00
Vincent Wei
1fb95ac4be move call of on_changed_ct to dskSetZNodeCompositing 2020-02-07 12:10:48 +08:00
Vincent Wei
32c5c3c58f cleanup; use MSG_SETWINDOWMASK instead of __kernel_change_z_node_mask_rect 2020-02-07 10:18:30 +08:00
Vincent Wei
6ea023aab1 change mem_dc of znode for compositing schema when the surface resized in dskMoveWindow 2020-02-06 21:53:57 +08:00
Vincent Wei
67580a65e9 implement get_znode_mask_bound for compositing schema 2020-02-06 18:20:37 +08:00
Vincent Wei
5064a14de6 get_next_visible_mainwin -> get_next_activable_mainwin; get next activable window znode before freeing the current znode 2020-02-06 16:04:09 +08:00
Vincent Wei
49f1ac7ef7 initialize lock_count for new znode to zero 2020-02-06 10:57:39 +08:00
Vincent Wei
4b9dca95a2 on_raising_win -> on_raised_win 2020-02-05 22:24:25 +08:00
Vincent Wei
da815e2779 check out of bound of znode rectangle in cb_circle_corners 2020-02-05 12:36:36 +08:00
Vincent Wei
dcb79f71d2 disable field age of ZORDERNODE for compositing schema 2020-02-05 11:06:31 +08:00
Vincent Wei
37de21cc42 tune calls of compositor operations 2020-02-04 21:46:03 +08:00
Vincent Wei
3d6eca8258 call on_dirty_rect 2020-02-04 12:11:16 +08:00
Vincent Wei
464adfa3e2 Under compositing schema, we do not allocate mask rectangles
for round corners. Instead, we get the region of window znode
in ServerGetWinZNodeRegion.
2020-02-04 10:37:52 +08:00
Vincent Wei
f2e476b9ff debug ServerGetPopupMenuZNodeRegion 2020-02-03 22:30:37 +08:00
Vincent Wei
b8963ba3b1 always create a new memdc for popup menus 2020-02-03 16:07:20 +08:00
Vincent Wei
3560f58248 initialize priv_data of z-node to NULL 2020-02-02 22:35:09 +08:00
Vincent Wei
fddf3bdc45 implement ServerGetWinZNodeRegion and ServerGetPopupMenuZNodeRegion 2020-02-02 16:59:42 +08:00
Vincent Wei
8dbe2c63f1 cleanup code, see cleanup-code.sh 2020-02-02 10:46:29 +08:00
Vincent Wei
693292d8bf initialize dirty_rcs to NULL for allocated new z-nodes 2020-01-22 11:49:26 +08:00
Vincent Wei
371038040f add changes to ZNODEHEADER and init it to zero when allocating a new znode 2020-01-20 18:36:30 +08:00
Vincent Wei
3b1351b128 add changes in ZNODEHEADER and tune the operation names 2020-01-20 18:20:30 +08:00
Vincent Wei
6b2197ea1d fix compilation error 2020-01-20 16:55:32 +08:00
Vincent Wei
9aec7a85cf disable use of sg_FreeClipRectList, sg_ScrGCRInfo, and sg_UpdateRgn for compositing schema; call compositing operations when znode changed. 2020-01-20 16:52:41 +08:00
Vincent Wei
4b89ff7d19 comment out get_text_char_pos and tune srvChangeCaption to use strdup 2020-01-19 19:32:58 +08:00
Vincent Wei
740f26624e use strdup for caption and implement kernel_get_prev_znode 2020-01-19 19:18:18 +08:00