Commit Graph
1565 Commits
Author SHA1 Message Date
Vincent Wei 32939cf0af cleanup 2020-02-21 20:06:50 +08:00
Vincent Wei f3b1401a90 tune field name of TIMER structure 2020-02-21 20:06:22 +08:00
Vincent Wei 3e3a7c92e1 use WS_EX_DIALOGBOX style for IsDialog() instead of sending message to window procedure 2020-02-21 20:05:44 +08:00
Vincent Wei a3b76f2f9d cleanup handler of MSG_TIMER of desktop for threads mode 2020-02-21 20:04:33 +08:00
Vincent Wei f9a1525421 bugfix: use 0x01UL instead of 0x01 2020-02-21 20:03:57 +08:00
Vincent Wei 07106925c6 tune implmentation of timer 2020-02-21 20:03:26 +08:00
Vincent Wei c015eff8f0 call __mg_check_expired_timers in the idle handler 2020-02-21 20:02:28 +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 0519637d62 Call SetActiveWindow in OpenAboutDialog if there is already a about dialog instance 2020-02-21 11:49:43 +08:00
Vincent Wei 17ba967eb2 fix a bug: check again after calling sem_wait in PeekMesageEx 2020-02-21 11:48:53 +08:00
Vincent Wei 246809f46e allocate and free mssage queue for main thread 2020-02-21 11:46:42 +08:00
Vincent Wei 32dc8c3f57 use dump_message; cleanup 2020-02-21 11:44:48 +08:00
Vincent Wei 2d8d6f0ba8 cleanup 2020-02-21 11:44:13 +08:00
Vincent Wei 9b4c325ba2 fix bug of CreateThreadForMessaging 2020-02-21 11:43:53 +08:00
Vincent Wei e33b61fcbb undef _DEBUG_DEVFONT 2020-02-21 10:12:52 +08:00
Vincent Wei 03774e2fa4 always initialize vector font engines for all runtime modes 2020-02-21 09:54:25 +08:00
Vincent Wei df61109fc5 cleanup 2020-02-21 09:53:44 +08:00
Vincent Wei 042c1f19b6 use _MG_PRINTF instead of _WRN_PRINTF for dumpers 2020-02-21 09:53:19 +08:00
Vincent Wei ec6c22f666 fix bug of bad traveling the hosted windows 2020-02-21 09:52:50 +08:00
Vincent Wei 240e9e05dc use _MG_PRINTF instead of _WRN_PRINTF for dumpers; disable InitVectorialFonts and TermVectorialFonts functions 2020-02-21 09:51:51 +08:00
Vincent Wei b971ca6d80 define a dummy implementation of JoinLayer for non-threads runtime modes 2020-02-21 09:49:57 +08:00
Vincent Wei a6974206c2 mark InitVectorialFonts and TermVectorialFonts as deprecated and define them as static inline functions 2020-02-21 09:49:04 +08:00
Vincent Wei aa2d13c5a2 message strings for new messages 2020-02-20 22:09:33 +08:00
Vincent Wei c846af5a2a fix conditional compilation errors 2020-02-20 22:08:27 +08:00
Vincent Wei 708bf8c489 tune description words 2020-02-20 22:00:21 +08:00
Vincent Wei 31ddac8281 tune description words 2020-02-20 21:53:49 +08:00
Vincent Wei 147cbb2152 Call SetActiveWindow 2020-02-20 21:14:48 +08:00
Vincent Wei 3f9939955d SetDesktopTimerFlag -> AlertDesktopTimerEvent 2020-02-20 19:36:16 +08:00
Vincent Wei b6a2fb3263 always use QS_DESKTIMER for desktop timer 2020-02-20 19:35:48 +08:00
Vincent Wei 98fa7ca872 skip desktop and virtual windows when checking invalid region of windows 2020-02-20 18:36:43 +08:00
Vincent Wei 46197de302 call createThreadInfoKey and deleteThreadInfoKey in InitGUI and TerminateGUI 2020-02-20 18:33:14 +08:00
Vincent Wei d484102dae add +dump_message_queue 2020-02-20 18:31:57 +08:00
Vincent Wei f555fc9c8f tune debug info 2020-02-20 17:47:39 +08:00
Vincent Wei aa90e9c7fa tune desktop menus for windows 2020-02-20 17:47:27 +08:00
Vincent Wei 8a63b551f6 tune macros 2020-02-20 17:41:57 +08:00
Vincent Wei 96005abb1a tune description words 2020-02-20 16:05:57 +08:00
Vincent Wei afed837806 ZOF_TYPE_TOPMOST -> ZOF_TYPE_HIGHER 2020-02-20 15:51:57 +08:00
Vincent Wei c0bd1a98d1 use ZOF_TYPE_BOTTOMMOST and ZOF_TYPE_TOPMOST 2020-02-20 15:51:33 +08:00
Vincent Wei 9f85525afb tune menuitems for main windows 2020-02-20 15:51:03 +08:00
Vincent Wei 9632e5f76a cleanup 2020-02-20 15:49:41 +08:00
Vincent Wei 5c248bb669 define IS_INVALID_ZIDX_LOOSE for not checking idx < 0 2020-02-20 15:49:20 +08:00
Vincent Wei 4ca3ac2e4b cleanup: remove _MG_CONFIG_FAST_MOUSEMOVE 2020-02-20 15:48:31 +08:00
Vincent Wei e3443bf9f3 cleanup 2020-02-20 15:48:15 +08:00
Vincent Wei 4ac66cae57 redefine ZOF_TYPE_TOPMOST for the topmost level; define ZOF_TYPE_BOTTOMMOST for the bottommost level; tune description words 2020-02-20 15:47:48 +08:00
Vincent Wei d75c881ed9 remove special handle of MSG_PAINT for HWND_DESKTOP 2020-02-20 12:42:06 +08:00
Vincent Wei bae0a64b6e cleanup 2020-02-20 12:41:16 +08:00
Vincent Wei a49cdd6ddc move call of mg_AllocMsgQueueForThisThread for desktop message queue to init-lite.c 2020-02-20 12:40:57 +08:00
Vincent Wei c0abd545f6 use IS_INVALID_ZIDX instead of max_nr_xxx 2020-02-20 12:39:57 +08:00
Vincent Wei 4aa5e04da1 add dump_mouse_message, dump_message_with_retval, dump_message, and dump_window functions (static inline) 2020-02-20 12:39:02 +08:00
Vincent Wei 52ddec51de move _MG_CONFIG_FAST_MOUSEMOVE to constants.h from cursor.h 2020-02-20 12:37:41 +08:00