X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ffont.hh;h=53e48c4ebad194546cdd99e1716f98b7f4966a36;hb=65e91ac3d6bbfec368bae9957c18c477d4f53ec5;hp=16c47f27aed9f2c5c2c28e4cdcc03561ba264209;hpb=e64d90be4d5b86a497ed8f03c6ba40512765e239;p=chaz%2Fopenbox diff --git a/otk/font.hh b/otk/font.hh index 16c47f27..53e48c4e 100644 --- a/otk/font.hh +++ b/otk/font.hh @@ -11,7 +11,7 @@ extern "C" { #include } -#include +#include namespace otk { @@ -23,20 +23,8 @@ class Font { * static members */ private: - static std::string _fallback_font; - static bool _xft_init; + static bool _xft_init; -public: - // the fallback is only used for X fonts, not for Xft fonts, since it is - // assumed that X fonts will be the fallback from Xft. - inline static std::string fallbackFont(void) { return _fallback_font; } - inline static void setFallbackFont(const std::string &f) - { _fallback_font = f; } - - /* - * instance members - */ -private: int _screen_num; std::string _fontstring;