ApplicationState.h 572 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include "ApplicationContext.h"
  3. namespace WallpaperEngine::Application {
  4. /**
  5. * Represents current application state
  6. */
  7. class ApplicationState {
  8. public:
  9. struct {
  10. bool keepRunning;
  11. } general {};
  12. struct {
  13. bool enabled;
  14. int volume;
  15. } audio {};
  16. struct {
  17. bool enabled;
  18. } mouse {};
  19. struct {
  20. /** If true, xray-style effects (Wallpaper Engine's built-in "effects/xray") render fully revealed
  21. * everywhere instead of following the mouse pointer */
  22. bool fullReveal;
  23. } xray {};
  24. };
  25. } // namespace WallpaperEngine::Application