diff --git a/include/Mw/LowLevel.h b/include/Mw/LowLevel.h index 8de44c4..fc4f666 100644 --- a/include/Mw/LowLevel.h +++ b/include/Mw/LowLevel.h @@ -176,10 +176,10 @@ MWDECL void (*MwLLSetCursor)(MwLL handle, MwCursor* image, MwCursor* mask); MWDECL void (*MwLLDetach)(MwLL handle, MwPoint* point); MWDECL void (*MwLLShow)(MwLL handle, int show); -MWDECL void (*MwLLMakePopup)(MwLL handle, MwLL parent); - MWDECL void (*MwLLSetSizeHints)(MwLL handle, int minx, int miny, int maxx, int maxy); MWDECL void (*MwLLMakeBorderless)(MwLL handle, int toggle); +MWDECL void (*MwLLMakeToolWindow)(MwLL handle); +MWDECL void (*MwLLMakePopup)(MwLL handle, MwLL parent); MWDECL void (*MwLLSetBackground)(MwLL handle, MwLLColor color); @@ -189,8 +189,6 @@ MWDECL void (*MwLLGrabPointer)(MwLL handle, int toggle); MWDECL void (*MwLLSetClipboard)(MwLL handle, const char* text); MWDECL char* (*MwLLGetClipboard)(MwLL handle); -MWDECL void (*MwLLMakeToolWindow)(MwLL handle); - #ifdef __cplusplus } #endif diff --git a/src/backend/call.c b/src/backend/call.c index c4f3aa3..3f1f71c 100644 --- a/src/backend/call.c +++ b/src/backend/call.c @@ -36,11 +36,11 @@ MwLLSetCursor = MwLLSetCursorImpl; \ MwLLDetach = MwLLDetachImpl; \ MwLLShow = MwLLShowImpl; \ -\ - MwLLMakePopup = MwLLMakePopupImpl; \ \ MwLLSetSizeHints = MwLLSetSizeHintsImpl; \ MwLLMakeBorderless = MwLLMakeBorderlessImpl; \ + MwLLMakeToolWindow = MwLLMakeToolWindowImpl; \ + MwLLMakePopup = MwLLMakePopupImpl; \ \ MwLLSetBackground = MwLLSetBackgroundImpl; \ \ @@ -49,8 +49,6 @@ \ MwLLSetClipboard = MwLLSetClipboardImpl; \ MwLLGetClipboard = MwLLGetClipboardImpl; \ -\ - MwLLMakeToolWindow = MwLLMakeToolWindowImpl; \ \ return 0; \ } diff --git a/src/lowlevel.c b/src/lowlevel.c index 1138605..41736d3 100644 --- a/src/lowlevel.c +++ b/src/lowlevel.c @@ -32,10 +32,10 @@ void (*MwLLSetCursor)(MwLL handle, MwCursor* image, MwCursor* mask); void (*MwLLDetach)(MwLL handle, MwPoint* point); void (*MwLLShow)(MwLL handle, int show); -void (*MwLLMakePopup)(MwLL handle, MwLL parent); - void (*MwLLSetSizeHints)(MwLL handle, int minx, int miny, int maxx, int maxy); void (*MwLLMakeBorderless)(MwLL handle, int toggle); +void (*MwLLMakeToolWindow)(MwLL handle); +void (*MwLLMakePopup)(MwLL handle, MwLL parent); void (*MwLLSetBackground)(MwLL handle, MwLLColor color); @@ -45,8 +45,6 @@ void (*MwLLGrabPointer)(MwLL handle, int toggle); void (*MwLLSetClipboard)(MwLL handle, const char* text); char* (*MwLLGetClipboard)(MwLL handle); -void (*MwLLMakeToolWindow)(MwLL handle); - void MwLLCreateCommon(MwLL handle) { handle->common.handler = malloc(sizeof(*handle->common.handler)); memset(handle->common.handler, 0, sizeof(*handle->common.handler));