bsnes/hiro/gtk/font.hpp
byuu 903d1e4012 v107.8
* GB: integrated SameBoy v0.12.1 by Lior Halphon
* SFC: added HG51B169 (Cx4) math tables into bsnes binary
2019-07-17 21:11:46 +09:00

18 lines
521 B
C++
Executable File

#if defined(Hiro_Font)
namespace hiro {
struct pFont {
static auto size(const Font& font, const string& text) -> Size;
static auto size(PangoFontDescription* font, const string& text) -> Size;
static auto family(const string& family) -> string;
static auto create(const Font& font) -> PangoFontDescription*;
static auto free(PangoFontDescription* font) -> void;
static auto setFont(GtkWidget* widget, const Font& font) -> void;
static auto setFont(GtkWidget* widget, gpointer font) -> void;
};
}
#endif