git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@704 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-14 10:52:44 +00:00
parent 1792b95516
commit c0cb14ad4a
3 changed files with 6 additions and 12 deletions

View File

@@ -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

View File

@@ -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; \
}

View File

@@ -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));