mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-04-02 10:42:14 -04:00
byuu says: I've added tool tips to hiro for Windows, GTK, and Qt. I'm unsure how to add them for Cocoa. I wasted am embarrassing ~14 hours implementing tool tips from scratch on Windows, because the `TOOLTIPS_CLASS` widget just absolutely refused to show up, no matter what I tried. As such, they're not quite 100% native, but I would really appreciate any patch submissions to help improve my implementation. I added tool tips to all of the confusing settings in bsnes. And of course, for those of you who don't like them, there's a configuration file setting to turn them off globally. I also improved Mega Drive handling of the Game Genie a bit, and restructured the way the Settings class works in bsnes. Starting now, I'm feature-freezing bsnes and higan. From this point forward: - polishing up and fixing bugs caused by the ruby/hiro changes - adding DRC to XAudio2, and maybe exclusive mode to WGL - correcting FEoEZ (English) to load and work again out of the box Once that's done, a final beta of bsnes will go out, I'll fix any reported bugs that I'm able to, and then v107 should be ready. This time with higan being functional, but marked as v107 beta. v108 will restore higan to production status again, alongside bsnes.
27 lines
719 B
C++
27 lines
719 B
C++
#if defined(Hiro_RadioButton)
|
|
|
|
namespace hiro {
|
|
|
|
struct pRadioButton : pWidget {
|
|
Declare(RadioButton, Widget)
|
|
|
|
auto minimumSize() const -> Size override;
|
|
auto setBordered(bool bordered) -> void;
|
|
auto setChecked() -> void;
|
|
auto setEnabled(bool enabled) -> void override;
|
|
auto setFont(const Font& font) -> void override;
|
|
auto setGroup(sGroup group) -> void override;
|
|
auto setIcon(const image& icon) -> void;
|
|
auto setOrientation(Orientation orientation) -> void;
|
|
auto setText(const string& text) -> void;
|
|
auto setVisible(bool visible) -> void override;
|
|
|
|
auto onActivate() -> void;
|
|
auto windowProc(HWND, UINT, WPARAM, LPARAM) -> maybe<LRESULT> override;
|
|
|
|
auto _setState() -> void;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|