bsnes/hiro/windows/action/menu-item.hpp

21 lines
292 B
C++

#if defined(Hiro_MenuItem)
namespace hiro {
struct pMenuItem : pAction {
Declare(MenuItem, Action)
auto setIcon(const image& icon) -> void;
auto setText(const string& text) -> void;
auto onActivate() -> void;
auto _createBitmap() -> void;
HBITMAP hbitmap = 0;
};
}
#endif