setting-editor.hpp 552 B

123456789101112131415161718
  1. struct SettingEditor : PanelItem {
  2. SettingEditor(View*);
  3. auto show() -> void override;
  4. auto hide() -> void override;
  5. auto refresh(higan::Node::Setting setting = {}) -> void;
  6. auto eventChange() -> void;
  7. VerticalLayout layout{this, Size{~0, ~0}};
  8. Label nameLabel{&layout, Size{~0, 0}};
  9. HorizontalLayout latchedLayout{&layout, Size{~0, 0}};
  10. Label latchedLabel{&latchedLayout, Size{0, 0}};
  11. Label latchedValue{&latchedLayout, Size{~0, 0}};
  12. ListView valueList{&layout, Size{~0, ~0}};
  13. higan::Node::Setting setting;
  14. };