Add window opacity and blur configuration options
Window appearance can now be configured via TOML:
- [window] opacity = 0.95 (0.0-1.0, default 1.0)
- [window] blur = true (macOS only, currently stubbed)
Implementation:
- Add toml_get_real() for float parsing in TOML
- Add window_opacity and window_blur to config_t
- Enable GLFW_TRANSPARENT_FRAMEBUFFER when opacity < 1.0
- Use opacity value in glClearColor alpha channel
- Add window_set_blur() function (stub - needs Cocoa integration)
Note: macOS blur requires Cocoa framework which has CMake integration
issues with Fortran compilers. The blur function is stubbed for now.
- [window] opacity = 0.95 (0.0-1.0, default 1.0)
- [window] blur = true (macOS only, currently stubbed)
Implementation:
- Add toml_get_real() for float parsing in TOML
- Add window_opacity and window_blur to config_t
- Enable GLFW_TRANSPARENT_FRAMEBUFFER when opacity < 1.0
- Use opacity value in glClearColor alpha channel
- Add window_set_blur() function (stub - needs Cocoa integration)
Note: macOS blur requires Cocoa framework which has CMake integration
issues with Fortran compilers. The blur function is stubbed for now.
- SHA
896305f42ffee14531a838b719b0f5609b715aa8- Parents
-
c65ecb0 - Tree
eb648dd