mirror of
https://github.com/DerKoun/bsnes-hd.git
synced 2025-04-02 10:52:49 -04:00
17 lines
521 B
C++
17 lines
521 B
C++
#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
|