add MwLLSetDarkTheme

This commit is contained in:
Nishi 2026-04-16 09:35:53 +09:00
commit a2c1489ffb
8 changed files with 57 additions and 1 deletions

View file

@ -51,6 +51,8 @@ void (*MwLLGetClipboard)(MwLL handle) = NULL;
void (*MwLLGetCursorCoord)(MwLL handle, MwPoint* point) = NULL;
void (*MwLLGetScreenSize)(MwLL handle, MwRect* rect) = NULL;
void (*MwLLSetDarkTheme)(MwLL handle, int toggle) = NULL;
void MwLLCreateCommon(MwLL handle) {
handle->common.handler = malloc(sizeof(*handle->common.handler));
memset(handle->common.handler, 0, sizeof(*handle->common.handler));