2025-11-13 01:30:24 +00:00
|
|
|
/* This file gets included by backend */
|
|
|
|
|
#define CALL(NAME) \
|
2025-11-13 01:34:00 +00:00
|
|
|
int MwLL##NAME##CallInit(void) { \
|
2025-11-13 01:30:24 +00:00
|
|
|
int st; \
|
|
|
|
|
\
|
|
|
|
|
if((st = MwLL##NAME##CallInitImpl()) != 0) return st; \
|
|
|
|
|
\
|
|
|
|
|
MwLLCreate = MwLLCreateImpl; \
|
|
|
|
|
MwLLDestroy = MwLLDestroyImpl; \
|
|
|
|
|
\
|
2026-03-19 16:05:44 -07:00
|
|
|
MwLLPolygon = MwLLPolygonImpl; \
|
|
|
|
|
MwLLLine = MwLLLineImpl; \
|
|
|
|
|
MwLLBeginDraw = MwLLBeginDrawImpl; \
|
|
|
|
|
MwLLEndDraw = MwLLEndDrawImpl; \
|
2025-11-13 01:30:24 +00:00
|
|
|
\
|
|
|
|
|
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; \
|
2025-11-14 10:52:44 +00:00
|
|
|
MwLLMakeToolWindow = MwLLMakeToolWindowImpl; \
|
2025-11-14 11:53:35 +00:00
|
|
|
MwLLMakePopup = MwLLMakePopupImpl; \
|
2025-11-14 12:13:31 +00:00
|
|
|
\
|
|
|
|
|
MwLLBeginStateChange = MwLLBeginStateChangeImpl; \
|
2025-11-14 16:33:45 +00:00
|
|
|
MwLLEndStateChange = MwLLEndStateChangeImpl; \
|
2025-11-13 01:30:24 +00:00
|
|
|
\
|
|
|
|
|
MwLLFocus = MwLLFocusImpl; \
|
|
|
|
|
MwLLGrabPointer = MwLLGrabPointerImpl; \
|
|
|
|
|
\
|
|
|
|
|
MwLLSetClipboard = MwLLSetClipboardImpl; \
|
|
|
|
|
MwLLGetClipboard = MwLLGetClipboardImpl; \
|
2025-11-25 20:21:15 +00:00
|
|
|
\
|
|
|
|
|
MwLLGetCursorCoord = MwLLGetCursorCoordImpl; \
|
2025-11-28 17:11:21 +00:00
|
|
|
MwLLGetScreenSize = MwLLGetScreenSizeImpl; \
|
2025-11-13 01:30:24 +00:00
|
|
|
\
|
|
|
|
|
return 0; \
|
2025-11-13 01:34:00 +00:00
|
|
|
}
|