move
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@704 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
1792b95516
commit
c0cb14ad4a
3 changed files with 6 additions and 12 deletions
|
|
@ -176,10 +176,10 @@ MWDECL void (*MwLLSetCursor)(MwLL handle, MwCursor* image, MwCursor* mask);
|
||||||
MWDECL void (*MwLLDetach)(MwLL handle, MwPoint* point);
|
MWDECL void (*MwLLDetach)(MwLL handle, MwPoint* point);
|
||||||
MWDECL void (*MwLLShow)(MwLL handle, int show);
|
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 (*MwLLSetSizeHints)(MwLL handle, int minx, int miny, int maxx, int maxy);
|
||||||
MWDECL void (*MwLLMakeBorderless)(MwLL handle, int toggle);
|
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);
|
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 void (*MwLLSetClipboard)(MwLL handle, const char* text);
|
||||||
MWDECL char* (*MwLLGetClipboard)(MwLL handle);
|
MWDECL char* (*MwLLGetClipboard)(MwLL handle);
|
||||||
|
|
||||||
MWDECL void (*MwLLMakeToolWindow)(MwLL handle);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -36,11 +36,11 @@
|
||||||
MwLLSetCursor = MwLLSetCursorImpl; \
|
MwLLSetCursor = MwLLSetCursorImpl; \
|
||||||
MwLLDetach = MwLLDetachImpl; \
|
MwLLDetach = MwLLDetachImpl; \
|
||||||
MwLLShow = MwLLShowImpl; \
|
MwLLShow = MwLLShowImpl; \
|
||||||
\
|
|
||||||
MwLLMakePopup = MwLLMakePopupImpl; \
|
|
||||||
\
|
\
|
||||||
MwLLSetSizeHints = MwLLSetSizeHintsImpl; \
|
MwLLSetSizeHints = MwLLSetSizeHintsImpl; \
|
||||||
MwLLMakeBorderless = MwLLMakeBorderlessImpl; \
|
MwLLMakeBorderless = MwLLMakeBorderlessImpl; \
|
||||||
|
MwLLMakeToolWindow = MwLLMakeToolWindowImpl; \
|
||||||
|
MwLLMakePopup = MwLLMakePopupImpl; \
|
||||||
\
|
\
|
||||||
MwLLSetBackground = MwLLSetBackgroundImpl; \
|
MwLLSetBackground = MwLLSetBackgroundImpl; \
|
||||||
\
|
\
|
||||||
|
|
@ -49,8 +49,6 @@
|
||||||
\
|
\
|
||||||
MwLLSetClipboard = MwLLSetClipboardImpl; \
|
MwLLSetClipboard = MwLLSetClipboardImpl; \
|
||||||
MwLLGetClipboard = MwLLGetClipboardImpl; \
|
MwLLGetClipboard = MwLLGetClipboardImpl; \
|
||||||
\
|
|
||||||
MwLLMakeToolWindow = MwLLMakeToolWindowImpl; \
|
|
||||||
\
|
\
|
||||||
return 0; \
|
return 0; \
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,10 @@ void (*MwLLSetCursor)(MwLL handle, MwCursor* image, MwCursor* mask);
|
||||||
void (*MwLLDetach)(MwLL handle, MwPoint* point);
|
void (*MwLLDetach)(MwLL handle, MwPoint* point);
|
||||||
void (*MwLLShow)(MwLL handle, int show);
|
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 (*MwLLSetSizeHints)(MwLL handle, int minx, int miny, int maxx, int maxy);
|
||||||
void (*MwLLMakeBorderless)(MwLL handle, int toggle);
|
void (*MwLLMakeBorderless)(MwLL handle, int toggle);
|
||||||
|
void (*MwLLMakeToolWindow)(MwLL handle);
|
||||||
|
void (*MwLLMakePopup)(MwLL handle, MwLL parent);
|
||||||
|
|
||||||
void (*MwLLSetBackground)(MwLL handle, MwLLColor color);
|
void (*MwLLSetBackground)(MwLL handle, MwLLColor color);
|
||||||
|
|
||||||
|
|
@ -45,8 +45,6 @@ void (*MwLLGrabPointer)(MwLL handle, int toggle);
|
||||||
void (*MwLLSetClipboard)(MwLL handle, const char* text);
|
void (*MwLLSetClipboard)(MwLL handle, const char* text);
|
||||||
char* (*MwLLGetClipboard)(MwLL handle);
|
char* (*MwLLGetClipboard)(MwLL handle);
|
||||||
|
|
||||||
void (*MwLLMakeToolWindow)(MwLL handle);
|
|
||||||
|
|
||||||
void MwLLCreateCommon(MwLL handle) {
|
void MwLLCreateCommon(MwLL handle) {
|
||||||
handle->common.handler = malloc(sizeof(*handle->common.handler));
|
handle->common.handler = malloc(sizeof(*handle->common.handler));
|
||||||
memset(handle->common.handler, 0, sizeof(*handle->common.handler));
|
memset(handle->common.handler, 0, sizeof(*handle->common.handler));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue