mirror of https://github.com/bsnes-emu/bsnes.git
21 lines
292 B
C++
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
|