Vincent Wei
|
1c29f6373e
|
fix a conditional compilation error
|
2020-03-13 14:33:03 +08:00 |
|
Vincent Wei
|
ec641f0207
|
remove duplicated getMsgQueueForThisThread
|
2020-03-11 19:28:41 +08:00 |
|
Vincent Wei
|
0059a3226c
|
rename mg_GetMsgQueueForThisThread to getMsgQueueForThisThread and make it inline; Register message queue when allocating it
|
2020-03-11 19:21:24 +08:00 |
|
Vincent Wei
|
e3a167002d
|
fix conditional compilation errors
|
2020-03-11 18:02:58 +08:00 |
|
Vincent Wei
|
9dea1bb27f
|
make some structures for PROCS avaialble for sharedfb schema
|
2020-03-10 16:42:29 +08:00 |
|
Vincent Wei
|
f8b8e1b5fe
|
change DESKTOP_TIMER_INERTVAL to 10 ticks to handle auto repeat messages
|
2020-03-06 21:51:50 +08:00 |
|
Vincent Wei
|
5b885ccee1
|
add MSG_SETAUTOREPEAT message
|
2020-03-06 21:46:30 +08:00 |
|
Vincent Wei
|
b18460fe3a
|
tune some constants
|
2020-03-06 15:51:51 +08:00 |
|
Vincent Wei
|
8a845ac965
|
fix some conditional compilation errors
|
2020-03-06 14:11:35 +08:00 |
|
Vincent Wei
|
f23949349b
|
add some helpers
|
2020-03-06 10:32:47 +08:00 |
|
Vincent Wei
|
283c4e4bc4
|
mark a window as TODEL after calling ThrowAwayMessages; tune name of some internal inline functions
|
2020-03-05 13:04:31 +08:00 |
|
Vincent Wei
|
097e379ec2
|
add MG_IS_GRAPHICS_WINDOW
|
2020-03-04 15:28:00 +08:00 |
|
Vincent Wei
|
bef9c5e476
|
add dump_gal_rect and dump_surface
|
2020-03-04 15:27:43 +08:00 |
|
Vincent Wei
|
88603deb44
|
tune get_effective_dc and release_effective_dc
|
2020-03-04 15:27:16 +08:00 |
|
Vincent Wei
|
022b23ff32
|
inuse -> bInUse
|
2020-03-03 18:37:58 +08:00 |
|
Vincent Wei
|
262bf68807
|
move gui_Control to ctrlclass.h as inline function
|
2020-03-03 15:38:17 +08:00 |
|
Vincent Wei
|
9fdfea572d
|
declare __mg_map_find_replace_or_insert, mark __mg_map_find_or_insert and __mg_map_find_or_insert_ex as deprecated
|
2020-03-02 14:37:59 +08:00 |
|
Vincent Wei
|
7f45d5232d
|
improve the implementation of map based on rbtree to having the alternative free function per entry
|
2020-03-02 11:16:13 +08:00 |
|
Vincent Wei
|
e1c44ebaa9
|
add mapLocalData fields for all kinds of window
|
2020-03-02 11:15:16 +08:00 |
|
Vincent Wei
|
08506e3cbb
|
remove unnecessary kernel_GetGCRgnInfo functions
|
2020-03-01 17:34:21 +08:00 |
|
Vincent Wei
|
513618d4ca
|
rename notif_proc to NotifProc in CONTROL structure; fix conditional compilation errors
|
2020-02-29 17:52:40 +08:00 |
|
Vincent Wei
|
e0b89ef232
|
add dump_window_details
|
2020-02-29 17:39:37 +08:00 |
|
Vincent Wei
|
8151cc2428
|
add message strings for MSG_MOVEWINDOW and MSG_DUMPZORDER
|
2020-02-29 16:03:23 +08:00 |
|
Vincent Wei
|
92a20d4cb8
|
add macros MG_IS_APP_WINDOW, MG_IS_CONTROL_WINDOW, MG_IS_DESTROYED_MAIN_WINDOW, and MG_IS_DESTROYED_VIRT_WINDOW; tune all macros for window type; add inline functions: checkAndGetMainWindowPtrOfMainWin and checkAndGetMainWindowPtrOfControl
|
2020-02-28 17:11:18 +08:00 |
|
Vincent Wei
|
d9e14139cf
|
cleanup
|
2020-02-28 17:09:45 +08:00 |
|
Vincent Wei
|
ba2e8358b2
|
declare internal function __mg_throw_away_messages
|
2020-02-27 21:02:31 +08:00 |
|
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
|
366bbb1ff0
|
always call ReleaseDC even if it is a private CDC in release_valid_dc
|
2020-02-27 10:36:11 +08:00 |
|
Vincent Wei
|
7c914cdca4
|
fix a bug: uninitialize the callback functions for the map of system bitmaps; add __mg_map_get_size
|
2020-02-27 00:47:09 +08:00 |
|
Vincent Wei
|
e50c8424e0
|
Only call SyncUpdateDC in EndPaint
|
2020-02-27 00:25:50 +08:00 |
|
Vincent Wei
|
e76dcef46e
|
add gui_ prefix to AddNewControlClass and so on
|
2020-02-26 22:06:37 +08:00 |
|
Vincent Wei
|
d6645c1ff7
|
string for MSG_REINITDESKOPS
|
2020-02-26 21:33:46 +08:00 |
|
Vincent Wei
|
5873faa559
|
include dependent headers
|
2020-02-26 21:33:28 +08:00 |
|
Vincent Wei
|
2191e6ea1a
|
add new files: rbtree.h, rbtree.c, map.h, map.c
|
2020-02-26 21:32:54 +08:00 |
|
Vincent Wei
|
7355a55610
|
removed
|
2020-02-26 21:28:28 +08:00 |
|
Vincent Wei
|
ecdfabe41d
|
implement a map based on rbtree
|
2020-02-26 21:28:00 +08:00 |
|
Vincent Wei
|
aceae83f93
|
implement a red-black tree
|
2020-02-26 21:27:41 +08:00 |
|
Vincent Wei
|
e16419183b
|
define DEF_OVERLAPPED_OFFSET_X and DEF_OVERLAPPED_OFFSET_Y
|
2020-02-26 12:24:11 +08:00 |
|
Vincent Wei
|
8fab85b8c1
|
move typedef CALCPOSINFO to minigui.h
|
2020-02-26 12:23:50 +08:00 |
|
Vincent Wei
|
e9950cf6a9
|
add REQID_CALCPOSITION and CALCPOSINFO; check REQID_SYS_LAST is not larger than MAX_SYS_REQID
|
2020-02-26 11:09:53 +08:00 |
|
Vincent Wei
|
81fd2ee5d5
|
add string for MSG_CALC_POSITION
|
2020-02-26 11:08:59 +08:00 |
|
Vincent Wei
|
881776c7a9
|
fix typos: Gets -> Get, Sets -> Set, Retrieves -> Retrieve
|
2020-02-26 08:55:38 +08:00 |
|
Vincent Wei
|
91246c8771
|
remove some deprecated code
|
2020-02-25 18:28:37 +08:00 |
|
Vincent Wei
|
8a362818de
|
rename __mg_os_start_time_ms to __mg_os_start_time; remove __mg_os_get_elapsed_ms; add __mg_os_get_time_ticks
|
2020-02-25 17:17:10 +08:00 |
|
Vincent Wei
|
2d9b3a68b5
|
add UL postfix
|
2020-02-25 16:21:00 +08:00 |
|
Vincent Wei
|
0ec15b624f
|
isWindowInThisThread -> getMainWinIfWindowInThisThread
|
2020-02-23 19:05:03 +08:00 |
|
Vincent Wei
|
44ea69baea
|
pAdd of _MSG struct renamed to pSyncMsg
|
2020-02-23 15:37:03 +08:00 |
|
Vincent Wei
|
630a6046a6
|
add message string for MSG_NOTIFICATION
|
2020-02-23 15:34:01 +08:00 |
|
Vincent Wei
|
c560fa9daf
|
add MG_IS_MAIN_VIRT_WINDOW
|
2020-02-23 15:33:00 +08:00 |
|
Vincent Wei
|
d36be5fb7f
|
remove delcaration of __mg_desktop, __mg_parsor, __mg_timer
|
2020-02-22 19:34:33 +08:00 |
|