diff options
-rw-r--r-- | src/Font.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Font.hh b/src/Font.hh index afdbbdc..6c1d95e 100644 --- a/src/Font.hh +++ b/src/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.2 2002/03/27 15:37:19 fluxgen Exp $ | 22 | //$Id: Font.hh,v 1.3 2002/05/15 09:36:57 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_FONT_HH | 24 | #ifndef FBTK_FONT_HH |
25 | #define FBTK_FONT_HH | 25 | #define FBTK_FONT_HH |
@@ -40,9 +40,9 @@ public: | |||
40 | bool loadFromDatabase(XrmDatabase &database, const char *rname, const char *rclass); | 40 | bool loadFromDatabase(XrmDatabase &database, const char *rname, const char *rclass); |
41 | //accessors | 41 | //accessors |
42 | inline bool isLoaded() const { return m_loaded; } | 42 | inline bool isLoaded() const { return m_loaded; } |
43 | inline XFontStruct *getFontStruct() const { return m_font.fontstruct; } | 43 | inline const XFontStruct *getFontStruct() const { return m_font.fontstruct; } |
44 | inline XFontSet &getFontSet() { return m_font.set; } | 44 | inline const XFontSet &getFontSet() const { return m_font.set; } |
45 | inline XFontSetExtents *getFontSetExtents() const { return m_font.set_extents; } | 45 | inline const XFontSetExtents *getFontSetExtents() const { return m_font.set_extents; } |
46 | static inline bool multibyte() { return m_multibyte; } | 46 | static inline bool multibyte() { return m_multibyte; } |
47 | unsigned int getTextWidth(const char *text, unsigned int size) const; | 47 | unsigned int getTextWidth(const char *text, unsigned int size) const; |
48 | unsigned int getHeight() const; | 48 | unsigned int getHeight() const; |