Commit Graph
50 Commits
Author SHA1 Message Date
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 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 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 ed9ce0b065 change prototype of purge_win_data 2020-02-03 16:05:14 +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 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 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 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 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 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
Vincent Wei 8ea2493132 tune flags for znode; add new types for popupmenu, screenlock, docker, and launcher; add new flags for maximized and minimized for future use 2020-01-16 09:37:14 +08:00
Vincent Wei cd5c13bf3e restore shared znode info and add mem_dc field for compositing schema 2020-01-14 11:59:44 +08:00
Vincent Wei 76d99caff7 zorder_shmid only for _MGSCHEMA_SHAREDFB; _MGUSE_COMPOSITING -> _MGSCHEMA_COMPOSITING 2020-01-13 17:58:28 +08:00
Vincent Wei 9547020633 New API: GetScreenRect and define g_rcScr as a macro calling GetScreenRect 2020-01-12 14:26:51 +08:00
Vincent Wei 74f6510971 new API: LoadCursorFromPNGFile, LoadCursorFromPNGMem 2020-01-09 12:13:03 +08:00
Vincent Wei 24c786aa8a cleanup: change copyright year 2020-01-06 16:09:11 +08:00
Vincent Wei 2c2cb2c691 Introduce a new API IsServer and make mgIsServer to be a macro calling IsServer;
Introduce a new API ClientRequestEx2 and make ClientRequestEx to be a macro calling ClientRequestEx2;
Introduce a new API ServerSendReplyEx and make ServerSendReply to be a macro calling ServerSendReplyEx;
Introduce a new API RegisterRequestHandlerV1 to register an extended request handler;
Introduce a new API GetRequestHandlerV1 to get the exteneded request handler;
Introduce a new API GetRequestHandlerEx to get the request handler and the version of the handler;
Tune the prototypes of sock_write_t and sock_read_t to use size_t, ssize_t, and DWORD for count, return value, and timeout value repectively.
2020-01-06 14:50:00 +08:00
Vincent Wei 3df060c5da add argument name to InitGUI 2019-11-28 12:30:09 +08:00
Vincent Wei 637dbbce68 change link to licensing policy 2019-11-13 11:53:59 +08:00
Vincent Wei 53c77a9a73 prepend excpetion list statement 2019-07-15 14:17:20 +08:00
Vincent Wei 5f22485ed5 cleanup 2019-07-04 14:14:01 +08:00
Vincent Wei 60f07ae26a move GetTickCount from window.h to minigui.h 2019-06-17 12:33:54 +08:00
Vincent Wei fda8b7975d use inline functions for --disable-cursor instead of macros 2019-04-15 16:44:03 +08:00
Vincent Wei dd6248e90e cleanup for Doxygen 2019-04-11 10:54:17 +08:00
Vincent Wei dfd4a603f9 change version to 4.0.0 2019-04-06 13:34:20 +08:00
Vincent Wei 5529ab1e10 use mg_slice for TEXTRUNS, TEXTLAYOUT, GlyphRun, TextRun, LayoutRun, and so on 2019-04-04 15:10:19 +08:00
Vincent Wei 032fdcc3bb mg_slice_free -> mg_slice_delete; mg_slice_free1 -> mg_slice_free 2019-04-04 14:46:05 +08:00
Vincent Wei 8ac0d539d0 implementation of mg_slice_xxx 2019-04-04 12:18:10 +08:00
Vincent Wei 70ba8a0420 cleanup 2019-01-19 14:59:12 +08:00
VincentWei 58050c7896 tune the copying in header files 2018-01-30 19:06:47 +08:00
Vincent Wei 267d9c1b12 merge from rel-3-0 branch 2017-10-26 13:34:57 +08:00
Vincent Wei e87d052072 initical commit 2017-05-29 12:20:05 +08:00