Commit Graph

369 Commits

Author SHA1 Message Date
Vincent Wei
df2d74fb0a use GetWindowElementPixelEx instead of GetWindowElementPixel or GetWindowElementColor 2020-02-12 13:26:01 +08:00
Vincent Wei
5c920f3732 tune description words; declare LoadBitmapIconEx, LoadBitmapIconFromFile, and LoadBitmapIconFromMem 2020-02-12 11:26:00 +08:00
Vincent Wei
53033675ad cleanup and fix conditional compilation errors 2020-02-11 21:01:48 +08:00
Vincent Wei
62d9c39ac6 restore original definitions of COLOR_xxx macros; add new RGBA_xxx macros 2020-02-11 21:01:23 +08:00
Vincent Wei
b7965b3940 use dwBkColor for compositing schema 2020-02-11 18:09:30 +08:00
Vincent Wei
b7f1c15a2a add enum for indexes of system standard colors 2020-02-11 18:08:10 +08:00
Vincent Wei
71fd40831f add dwBkColor for compositing schema; change prototype of CreateMainWindowEx2; declare DWORD2PixelByWindow 2020-02-11 18:06:28 +08:00
Vincent Wei
fb26beb997 define COLOR_xxx as the RGBA quadruple instead of pixel value; new API (inline) AreRegionsIntersected 2020-02-10 22:47:01 +08:00
Vincent Wei
a0bfb4b0b1 tune 2020-02-07 16:51:42 +08:00
Vincent Wei
bd9e49888b declare ColorBlendMethod and tune ColorLogicalOp 2020-02-07 16:51:25 +08:00
Vincent Wei
f626523116 tune compositing type and add CT_LOGICALPIXEL 2020-02-07 12:07:55 +08:00
Vincent Wei
9e9d13623c define ZOF_TF_CONTROL to 0x04000000; add on_layer_op in CompositorOps 2020-02-07 11:53:58 +08:00
Vincent Wei
ce33d28b68 add ColorCompositingOp and ColorLogicalOp 2020-02-07 11:52:57 +08:00
Vincent Wei
9bbf09c9a6 cleanup 2020-02-07 11:52:33 +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
a4bf2e0c2c cleanup 2020-02-06 18:15:48 +08:00
Vincent Wei
75ba1cfdaa add lock_count to support recursive lock 2020-02-06 10:56:20 +08:00
Vincent Wei
d47b150f4b on_raising_win -> on_raised_win 2020-02-05 22:24:04 +08:00
Vincent Wei
3d826ff7cb disable age in ZNODEHEADER for _MGSCHEMA_COMPOSITING 2020-02-05 17:26:09 +08:00
Vincent Wei
784476b449 tune description words 2020-02-05 12:35:09 +08:00
Vincent Wei
2622843202 tune argument name: rc -> rc_dirty of on_dirty_screen 2020-02-05 11:05:41 +08:00
Vincent Wei
ef44119c2d tune the operations of CompositorOps 2020-02-04 21:43:06 +08:00
Vincent Wei
53ab99def2 Tune CompositorOps: new operation on_dirty_rect, on_moving_to_top -> on_raising_win 2020-02-04 12:08:40 +08:00
Vincent Wei
2a38ea9695 fix typos 2020-02-03 22:29:28 +08:00
Vincent Wei
ed9ce0b065 change prototype of purge_win_data 2020-02-03 16:05:14 +08:00
Vincent Wei
7f8a7c5f10 tune description words 2020-02-03 16:04:50 +08:00
Vincent Wei
07585edb1e support for private data of z-node; new APIS: ServerSetWinZNodePrivateData and ServerSetPopupMenuZNodePrivateData 2020-02-02 22:33:37 +08:00
Vincent Wei
4d4d18499c add Since 4.2.0 for new window styles and window messages 2020-02-02 16:57:36 +08:00
Vincent Wei
54bc586e39 declare ServerGetWinZNodeRegion and ServerGetPopupMenuZNodeRegion 2020-02-02 16:56:48 +08:00
Vincent Wei
14d020cccf cleanup: convert tab to spaces and trim tail spaces 2020-02-02 10:53:31 +08:00
Vincent Wei
1aa5f30f19 change MAX_SYS_REQID to 0x0022 2020-02-01 21:36:46 +08:00
Vincent Wei
025ac76316 ServerGetZNodeHeader -> ServerGetWinZNodeHeader, ServerReleaseZNodeHeader -> ServerReleaseWinZNodeHeader 2020-01-22 16:16:59 +08:00
Vincent Wei
ef0a6b9520 make SyncUpdateDC and SyncUpdateSurface inline for not defined _MGUSE_SYNC_UPDATE and/or not defined _MGSCHEMA_COMPOSITING 2020-01-22 16:16:14 +08:00
Vincent Wei
3ed116b53b add dirty_age, nr_dirty_rcs, and dirty_rcs fields in ZNODEHEADER for compositing schema; lock shared surface in ServerGetZNodeHeader and ServerGetPopupMenuZNodeHeader if specified and return the dirty rects info; declare ServerReleaseZNodeHeader and ServerReleasePopupMenuZNodeHeader; tune compositor operations: on_dirty_ppp, on_dirty_win, and on_dirty_wpp 2020-01-22 11:46:18 +08:00
Vincent Wei
c5b83c9498 declare SyncUpdateSurface 2020-01-21 14:37:33 +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
2120020801 tune CompositorOps 2020-01-20 16:50:37 +08:00
Vincent Wei
d3835670ac tune CompositorOps 2020-01-20 11:55:14 +08:00
Vincent Wei
30353afdf8 declare ServerGetPrevZNode, ZNODEHEADER, ServerGetZNodeHeader, ServerGetPopupMenusCount, and ServerGetPopupMenuZNodeHeader 2020-01-19 19:13:33 +08:00
Vincent Wei
c1ad338f12 declare ServerRegisterCompositor, ServerUnregisterCompositor, ServerGetCompositorOps, ServerSelectCompositor, __ex_compositor_get, and struct _CompositorOps 2020-01-19 16:18:46 +08:00
Vincent Wei
b6b9abdf33 cleanup 2020-01-17 18:55:12 +08:00
Vincent Wei
a5134fec40 cleanup 2020-01-17 15:50:23 +08:00
Vincent Wei
5ba5476441 tune constants for znode 2020-01-17 11:59:28 +08:00
Vincent Wei
a4355c6b9d use field ct instead of znode flag 2020-01-17 08:54:11 +08:00
Vincent Wei
26d0cec9a9 add MSG_UPDATECLIWIN 2020-01-16 18:07:27 +08:00
Vincent Wei
0c697163ba cleanup; declare ServerMoveClientToLayer and MoveToLayer 2020-01-16 18:06:46 +08:00
Vincent Wei
85480871fb tune and cleanup 2020-01-16 14:59:31 +08:00
Vincent Wei
46621017c8 enhance to support compositing type and argument for CreateMainWindowEx2 2020-01-16 12:15:34 +08:00
Vincent Wei
4f6a0aebf5 implement SetMainWindowAlwaysTop and SetMainWindowCompositing 2020-01-16 11:45:19 +08:00