mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 16:10:50 +00:00
58 lines
1.6 KiB
C
58 lines
1.6 KiB
C
/* This file gets included by backend */
|
|
#define CALL(NAME) \
|
|
int MwLL##NAME##CallInit(void) { \
|
|
int st; \
|
|
\
|
|
if((st = MwLL##NAME##CallInitImpl()) != 0) return st; \
|
|
\
|
|
MwLLCreate = MwLLCreateImpl; \
|
|
MwLLDestroy = MwLLDestroyImpl; \
|
|
\
|
|
MwLLPolygon = MwLLPolygonImpl; \
|
|
MwLLLine = MwLLLineImpl; \
|
|
\
|
|
MwLLAllocColor = MwLLAllocColorImpl; \
|
|
MwLLColorUpdate = MwLLColorUpdateImpl; \
|
|
MwLLFreeColor = MwLLFreeColorImpl; \
|
|
\
|
|
MwLLGetXYWH = MwLLGetXYWHImpl; \
|
|
MwLLSetXY = MwLLSetXYImpl; \
|
|
MwLLSetWH = MwLLSetWHImpl; \
|
|
\
|
|
MwLLSetTitle = MwLLSetTitleImpl; \
|
|
\
|
|
MwLLPending = MwLLPendingImpl; \
|
|
MwLLNextEvent = MwLLNextEventImpl; \
|
|
\
|
|
MwLLCreatePixmap = MwLLCreatePixmapImpl; \
|
|
MwLLPixmapUpdate = MwLLPixmapUpdateImpl; \
|
|
MwLLDestroyPixmap = MwLLDestroyPixmapImpl; \
|
|
MwLLDrawPixmap = MwLLDrawPixmapImpl; \
|
|
MwLLSetIcon = MwLLSetIconImpl; \
|
|
\
|
|
MwLLForceRender = MwLLForceRenderImpl; \
|
|
\
|
|
MwLLSetCursor = MwLLSetCursorImpl; \
|
|
MwLLDetach = MwLLDetachImpl; \
|
|
MwLLShow = MwLLShowImpl; \
|
|
\
|
|
MwLLSetSizeHints = MwLLSetSizeHintsImpl; \
|
|
MwLLMakeBorderless = MwLLMakeBorderlessImpl; \
|
|
MwLLMakeToolWindow = MwLLMakeToolWindowImpl; \
|
|
MwLLMakePopup = MwLLMakePopupImpl; \
|
|
\
|
|
MwLLBeginStateChange = MwLLBeginStateChangeImpl; \
|
|
MwLLEndStateChange = MwLLEndStateChangeImpl; \
|
|
\
|
|
MwLLFocus = MwLLFocusImpl; \
|
|
MwLLGrabPointer = MwLLGrabPointerImpl; \
|
|
\
|
|
MwLLSetClipboard = MwLLSetClipboardImpl; \
|
|
MwLLGetClipboard = MwLLGetClipboardImpl; \
|
|
\
|
|
MwLLGetCursorCoord = MwLLGetCursorCoordImpl; \
|
|
MwLLGetScreenSize = MwLLGetScreenSizeImpl; \
|
|
\
|
|
return 0; \
|
|
}
|