mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-06 18:31:57 +08:00
add calc_mainwin_pos to struct _CompositorOps
This commit is contained in:
@@ -1555,6 +1555,13 @@ typedef struct _CompositorOps {
|
||||
void (*purge_win_data) (CompositorCtxt* ctxt, MG_Layer* layer,
|
||||
int zidx, void* data);
|
||||
|
||||
/**
|
||||
* This operation calculate the default position and size for
|
||||
* a main window with the extended style WS_EX_AUTOPOSITION.
|
||||
*/
|
||||
void (*calc_mainwin_pos) (CompositorCtxt* ctxt, MG_Layer* layer,
|
||||
DWORD style, DWORD ex_style, RECT* rc_wnd);
|
||||
|
||||
/**
|
||||
* This operation will be called when there was a layer operation.
|
||||
* For more information, please refer to \a OnChangeLayer.
|
||||
|
||||
Reference in New Issue
Block a user