aboutsummaryrefslogtreecommitdiff
path: root/src/Font.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-05-15 09:36:57 (GMT)
committerfluxgen <fluxgen>2002-05-15 09:36:57 (GMT)
commit849acb43036f420acdcee8a125cb5784a3529e44 (patch)
tree03b4bf421a69212e02b4477b8bda7aa9d50b968c /src/Font.hh
parent58c6885c23e6d65ed478e7fda8fc167f3e695607 (diff)
downloadfluxbox-849acb43036f420acdcee8a125cb5784a3529e44.zip
fluxbox-849acb43036f420acdcee8a125cb5784a3529e44.tar.bz2
const
Diffstat (limited to 'src/Font.hh')
-rw-r--r--src/Font.hh8
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;