Commit Graph

7 Commits

Author SHA1 Message Date
ws909
5805c51eab Add color specifier to GLFWtheme.
Add color specifier parameter to glfwThemeGetColor and glfwThemeSetColor.
Add GLFW_THEME_COLOR_MAIN.
Remove GLFW_THEME_ATTRIBUTE_HAS_COLOR.
2023-02-01 04:44:22 +01:00
ws909
afae2b0dfa Implement _glfwGetSystemDefaultThemeCocoa.
Fix bug in _glfwGetThemeCocoa always reporting a light theme for system default themes.
2023-01-30 03:09:39 +01:00
ws909
d87fc99503 Change GLFWtheme's public API flags to attributes 2023-01-30 01:12:12 +01:00
ws909
a63905b2f6 Fix clear color in theming test 2023-01-29 22:57:30 +01:00
ws909
3e7ce3ac63 Convert GLFWtheme to an opaque object.
Add creation, copying and destruction functions for theming objects.
Add setters and getters for theme objects.
2023-01-29 21:06:42 +01:00
ws909
ae437d3eaa Fix _glfwGetThemeCocoa 2023-01-26 00:46:37 +01:00
ws909
da9e6dac24 Add theming test program source 2023-01-25 19:53:15 +01:00