mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-02-23 22:52:34 +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.
19 lines
476 B
C++
19 lines
476 B
C++
#if defined(Hiro_Font)
|
|
|
|
namespace hiro {
|
|
|
|
struct pFont {
|
|
static auto serif(unsigned size, string style) -> string;
|
|
static auto sans(unsigned size, string style) -> string;
|
|
static auto monospace(unsigned size, string style) -> string;
|
|
static auto size(const string& font, const string& text) -> Size;
|
|
|
|
static auto create(const string& description) -> HFONT;
|
|
static auto free(HFONT hfont) -> void;
|
|
static auto size(HFONT hfont, string text) -> Size;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|