status-bar.hpp 391 B

12345678910111213141516171819202122
  1. #if defined(Hiro_StatusBar)
  2. namespace hiro {
  3. struct pStatusBar : pObject {
  4. Declare(StatusBar, Object)
  5. auto setEnabled(bool enabled) -> void override;
  6. auto setFont(const Font& font) -> void override;
  7. auto setText(const string& text) -> void;
  8. auto setVisible(bool visible) -> void override;
  9. auto _parent() -> maybe<pWindow&>;
  10. HWND hwnd = 0;
  11. HFONT hfont = 0;
  12. };
  13. }
  14. #endif