mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-27 11:00:47 +00:00
93a6a1ce7e
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.
20 lines
419 B
C++
20 lines
419 B
C++
#if defined(Hiro_Label)
|
|
|
|
namespace hiro {
|
|
|
|
struct pLabel : pWidget {
|
|
Declare(Label, Widget)
|
|
|
|
auto minimumSize() const -> Size override;
|
|
auto setAlignment(Alignment alignment) -> void;
|
|
auto setBackgroundColor(Color color) -> void;
|
|
auto setForegroundColor(Color color) -> void;
|
|
auto setText(const string& text) -> void;
|
|
|
|
auto windowProc(HWND, UINT, WPARAM, LPARAM) -> maybe<LRESULT> override;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|