diff options
Diffstat (limited to 'src/FbTk/Font.hh')
-rw-r--r-- | src/FbTk/Font.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/Font.hh b/src/FbTk/Font.hh index 13bf12b..df35b55 100644 --- a/src/FbTk/Font.hh +++ b/src/FbTk/Font.hh | |||
@@ -63,15 +63,15 @@ public: | |||
63 | loaded font | 63 | loaded font |
64 | */ | 64 | */ |
65 | bool load(const std::string &name); | 65 | bool load(const std::string &name); |
66 | 66 | ||
67 | void setHalo(bool flag) { m_halo = flag; if (m_halo) setShadow(false); } | 67 | void setHalo(bool flag) { m_halo = flag; if (m_halo) setShadow(false); } |
68 | void setHaloColor(const Color& color) { m_halo_color = color; } | 68 | void setHaloColor(const Color& color) { m_halo_color = color; } |
69 | 69 | ||
70 | void setShadow(bool flag) { m_shadow = flag; if (m_shadow) setHalo(false); } | 70 | void setShadow(bool flag) { m_shadow = flag; if (m_shadow) setHalo(false); } |
71 | void setShadowColor(const Color& color) { m_shadow_color = color; } | 71 | void setShadowColor(const Color& color) { m_shadow_color = color; } |
72 | void setShadowOffX(int offx) { m_shadow_offx = offx; } | 72 | void setShadowOffX(int offx) { m_shadow_offx = offx; } |
73 | void setShadowOffY(int offy) { m_shadow_offy = offy; } | 73 | void setShadowOffY(int offy) { m_shadow_offy = offy; } |
74 | 74 | ||
75 | /** | 75 | /** |
76 | @param text text to check size | 76 | @param text text to check size |
77 | @param size length of text in bytes | 77 | @param size length of text in bytes |
@@ -110,7 +110,7 @@ private: | |||
110 | 110 | ||
111 | FbTk::FontImp* m_fontimp; ///< font implementation | 111 | FbTk::FontImp* m_fontimp; ///< font implementation |
112 | std::string m_fontstr; ///< font name | 112 | std::string m_fontstr; ///< font name |
113 | 113 | ||
114 | static bool s_multibyte; ///< if the fontimp should be a multibyte font | 114 | static bool s_multibyte; ///< if the fontimp should be a multibyte font |
115 | static bool s_utf8mode; ///< should the font use utf8 font imp | 115 | static bool s_utf8mode; ///< should the font use utf8 font imp |
116 | 116 | ||