menu-bar.hpp 367 B

1234567891011121314151617181920
  1. #if defined(Hiro_MenuBar)
  2. namespace hiro {
  3. struct pMenuBar : pObject {
  4. Declare(MenuBar, Object)
  5. auto append(sMenu menu) -> void;
  6. auto remove(sMenu menu) -> void;
  7. auto setEnabled(bool enabled) -> void override;
  8. auto setFont(const Font& font) -> void override;
  9. auto setVisible(bool visible) -> void override;
  10. auto _parent() -> pWindow*;
  11. };
  12. }
  13. #endif