diff --git a/include/minigui.h b/include/minigui.h index 65f2c36d..02206d5a 100644 --- a/include/minigui.h +++ b/include/minigui.h @@ -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.