old-hiro/windows/popup-menu.hpp
2016-05-15 12:45:15 +02:00

19 lines
349 B
C++

#if defined(Hiro_PopupMenu)
namespace hiro {
struct pPopupMenu : pObject {
Declare(PopupMenu, Object)
auto append(sAction action) -> void;
auto remove(sAction action) -> void;
auto setFont(const Font& font) -> void override;
auto setVisible(bool visible) -> void override;
HWND hwnd = nullptr;
HMENU hmenu = nullptr;
};
}
#endif