Add portal interface to support SDL_GetSystemTheme in linux

This commit is contained in:
Guldoman
2023-03-09 22:26:33 +01:00
committed by Sam Lantinga
parent c304fbded6
commit ad95c93bf4
7 changed files with 237 additions and 0 deletions

View File

@@ -1552,6 +1552,7 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
if(HAVE_DBUS_DBUS_H)
list(APPEND SOURCE_FILES "${SDL3_SOURCE_DIR}/src/core/linux/SDL_dbus.c")
list(APPEND SOURCE_FILES "${SDL3_SOURCE_DIR}/src/core/linux/SDL_system_theme.c")
endif()
if(SDL_USE_IME)