aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbTk/Font.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/Font.hh b/src/FbTk/Font.hh
index 2ddb7fa..2502c1b 100644
--- a/src/FbTk/Font.hh
+++ b/src/FbTk/Font.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22//$Id: Font.hh,v 1.6 2003/12/16 17:06:51 fluxgen Exp $ 22//$Id: Font.hh,v 1.7 2003/12/19 17:07:53 fluxgen Exp $
23 23
24#ifndef FBTK_FONT_HH 24#ifndef FBTK_FONT_HH
25#define FBTK_FONT_HH 25#define FBTK_FONT_HH
@@ -54,6 +54,7 @@ public:
54 /// @return true if utf-8 mode is enabled, else false 54 /// @return true if utf-8 mode is enabled, else false
55 static bool utf8() { return m_utf8mode; } 55 static bool utf8() { return m_utf8mode; }
56 void setAntialias(bool flag); 56 void setAntialias(bool flag);
57 inline void setShadow(bool flag) { m_shadow = flag; }
57 /** 58 /**
58 @param text text to check size 59 @param text text to check size
59 @param size length of text in bytes 60 @param size length of text in bytes
@@ -88,6 +89,7 @@ public:
88 bool isRotated() const { return m_rotated; } 89 bool isRotated() const { return m_rotated; }
89 /// @return rotated angle 90 /// @return rotated angle
90 float angle() const { return m_angle; } 91 float angle() const { return m_angle; }
92 bool shadow() const { return m_shadow; }
91private: 93private:
92 94
93 std::auto_ptr<FontImp> m_fontimp; ///< font implementation 95 std::auto_ptr<FontImp> m_fontimp; ///< font implementation