input.hpp 848 B

123456789101112131415161718192021222324
  1. struct InputSettings : PanelItem {
  2. InputSettings(View*);
  3. auto show() -> void override;
  4. auto hide() -> void override;
  5. auto refresh() -> void;
  6. auto eventChange() -> void;
  7. Frame frame{this, Size{~0, ~0}};
  8. VerticalLayout layout{&frame};
  9. Label driverHeader{&layout, Size{~0, 0}};
  10. HorizontalLayout driverLayout{&layout, Size{~0, 0}};
  11. Label driverLabel{&driverLayout, Size{0, 0}};
  12. ComboButton driverOption{&driverLayout, Size{0, 0}};
  13. Button changeButton{&driverLayout, Size{0, 0}};
  14. Label focusLossHeader{&layout, Size{~0, 0}};
  15. HorizontalLayout focusLossLayout{&layout, Size{~0, 0}};
  16. RadioLabel focusPause{&focusLossLayout, Size{0, 0}};
  17. RadioLabel focusBlock{&focusLossLayout, Size{0, 0}};
  18. RadioLabel focusAllow{&focusLossLayout, Size{0, 0}};
  19. Group focusGroup{&focusPause, &focusBlock, &focusAllow};
  20. };