popup-menu.hpp 349 B

1234567891011121314151617181920
  1. #if defined(Hiro_PopupMenu)
  2. namespace hiro {
  3. struct pPopupMenu : pObject {
  4. Declare(PopupMenu, Object)
  5. auto append(sAction action) -> void;
  6. auto remove(sAction action) -> void;
  7. auto setFont(const Font& font) -> void override;
  8. auto setVisible(bool visible) -> void override;
  9. HWND hwnd = nullptr;
  10. HMENU hmenu = nullptr;
  11. };
  12. }
  13. #endif