mirror of https://github.com/bsnes-emu/bsnes.git
23 lines
375 B
C++
23 lines
375 B
C++
#if defined(Hiro_Menu)
|
|
|
|
namespace hiro {
|
|
|
|
struct pMenu : pAction {
|
|
Declare(Menu, Action)
|
|
|
|
auto append(sAction action) -> void;
|
|
auto remove(sAction action) -> void;
|
|
auto setImage(const Image& image) -> void;
|
|
auto setText(const string& text) -> void;
|
|
|
|
auto _createBitmap() -> void;
|
|
auto _update() -> void;
|
|
|
|
HMENU hmenu = 0;
|
|
HBITMAP hbitmap = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|