Vincent Wei
|
dd34cd58a5
|
tune CreateMainWindowEx2 for error handling; Call SendNotifyMessage in the end of MoveWindow
|
2020-02-29 16:03:01 +08:00 |
|
Vincent Wei
|
734debce34
|
add MSG_MOVEWINDOW which will be sent as a notification after calling MoveWindow; add new internal message MSG_DUMPZORDER
|
2020-02-29 16:02:00 +08:00 |
|
Vincent Wei
|
04535d691f
|
use new inline functions for checking and returning the window ptr
|
2020-02-28 17:12:05 +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
|
2d8fda08e7
|
cleanup the checking of window type for various window APIs
|
2020-02-28 17:08:14 +08:00 |
|
Vincent Wei
|
e2e2b1ef94
|
check length of class name and reserved names
|
2020-02-28 17:07:40 +08:00 |
|
Vincent Wei
|
69ab18b5ab
|
list functions work for virtual window; add class name for virtual window
|
2020-02-28 16:56:24 +08:00 |
|
Vincent Wei
|
dfe6c026ef
|
fix a fatal bug: call __mg_throw_away_messages in CreateMainWindowEx2, CreateVirtualWindow, and CreateWindowEx2 when failed to create a new window.
|
2020-02-27 21:10:23 +08:00 |
|
Vincent Wei
|
ace5a0d263
|
tune
|
2020-02-27 21:04:15 +08:00 |
|
Vincent Wei
|
6b1b850312
|
implement __mg_throw_away_messages and tune ThrowAwayMessages
|
2020-02-27 21:04:02 +08:00 |
|
Vincent Wei
|
ba2e8358b2
|
declare internal function __mg_throw_away_messages
|
2020-02-27 21:02:31 +08:00 |
|
Vincent Wei
|
851fc9aeff
|
fix a bug: bad value for WS_EX_WINTYPE_LAUNCHER
|
2020-02-27 21:00:31 +08:00 |
|
Vincent Wei
|
ecf1e9db90
|
tune words
|
2020-02-27 10:50:56 +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
|
98cdfd9bfb
|
Call SyncUpdate in ReleaseDC instead of EndPaint
|
2020-02-27 10:38:05 +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
|
2ae820992f
|
debug output
|
2020-02-27 09:59:37 +08:00 |
|
Vincent Wei
|
f005efe2e5
|
do not call SetCursor in handling low level events
|
2020-02-27 09:59:14 +08:00 |
|
Vincent Wei
|
40628a7fbe
|
do not call GAL_SyncUpdate for screen surface in ShowCursorForGDI
|
2020-02-27 09:58:45 +08:00 |
|
Vincent Wei
|
283d421721
|
tune
|
2020-02-27 09:57:49 +08:00 |
|
Vincent Wei
|
ccb176419a
|
fix a bug: bad handle for backspace
|
2020-02-27 09:57:20 +08:00 |
|
Vincent Wei
|
e8a26956d7
|
tune
|
2020-02-27 09:56:53 +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
|
18ca90eb37
|
conver to upper before hashing
|
2020-02-27 00:25:19 +08:00 |
|
Vincent Wei
|
b9d71cd489
|
tune order of terminating functions
|
2020-02-26 23:02:24 +08:00 |
|
Vincent Wei
|
bdb4bbefe4
|
use Str2Key for hash function of class name
|
2020-02-26 23:01:53 +08:00 |
|
Vincent Wei
|
ba65912bb1
|
fix a bug in __mg_map_insert
|
2020-02-26 22:13:42 +08:00 |
|
Vincent Wei
|
e76dcef46e
|
add gui_ prefix to AddNewControlClass and so on
|
2020-02-26 22:06:37 +08:00 |
|
Vincent Wei
|
fde80cdb1b
|
define __mg_sys_bmp_map
|
2020-02-26 22:05:59 +08:00 |
|
Vincent Wei
|
5c5a33afd5
|
fix conditional compilation errors
|
2020-02-26 22:05:44 +08:00 |
|
Vincent Wei
|
6ab06b320f
|
implement GetSystemBitmapEx2; tune RegisterSystemBitmap and UnregisterSystemBitmap by using the map for system bitmaps
|
2020-02-26 21:37:32 +08:00 |
|
Vincent Wei
|
d9bac8ca6d
|
declare __mg_sys_bmp_map
|
2020-02-26 21:36:09 +08:00 |
|
Vincent Wei
|
d089ba70aa
|
add resource operations for MYBITMAP; initialize/terminate map for system bitmaps; cleanup code
|
2020-02-26 21:35:45 +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
|
6ee2617eb7
|
use GetSystemBitmapEx2 instead of GetSystemBitmapEx
|
2020-02-26 21:32:11 +08:00 |
|
Vincent Wei
|
3627f32f25
|
declare GetSystemBitmapEx2; cleanup APIs for system bitmaps
|
2020-02-26 21:31:44 +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
|
c5ff5ff992
|
add HDC for init operation of _DESKTOPOPS
|
2020-02-26 21:29:06 +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
|
5849ce8e04
|
implementation calc_mainwin_pos for fallback compositor
|
2020-02-26 12:33:46 +08:00 |
|
Vincent Wei
|
dce4dadebf
|
implement calculate default position for main windows
|
2020-02-26 12:25:54 +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
|
17b92420f1
|
tune implementation for MSG_CALC_POSITION message
|
2020-02-26 12:23:19 +08:00 |
|