mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-24 15:12:23 +01:00
byuu says: Finally!! Compilation works once again on Windows. However, it's pretty buggy. Modality isn't really working right, you can still poke at other windows, but when you select ListView items, they redraw as empty boxes (need to process WM_DRAWITEM before checking modality.) The program crashes when you close it (probably a ruby driver's term() function, that's what it usually is.) The Layout::setEnabled(false) call isn't working right, so you get that annoying chiming sound and cursor movement when mapping keyboard keys to game inputs. The column sizing seems off a bit on first display for the Hotkeys tab. And probably lots more.
23 lines
373 B
C++
23 lines
373 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 setIcon(const image& icon) -> void;
|
|
auto setText(const string& text) -> void;
|
|
|
|
auto _createBitmap() -> void;
|
|
auto _update() -> void;
|
|
|
|
HMENU hmenu = 0;
|
|
HBITMAP hbitmap = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|