aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-10-15 16:44:26 (GMT)
committerfluxgen <fluxgen>2002-10-15 16:44:26 (GMT)
commit8140009ae05dba9f5957f254f222215d1123741f (patch)
tree4b0ecaa76ea06cd520b2a94ec083d4eee849f6e6 /src
parent1e7ede26c413d8a08d42f41495254ebd5a6d22b2 (diff)
downloadfluxbox_paul-8140009ae05dba9f5957f254f222215d1123741f.zip
fluxbox_paul-8140009ae05dba9f5957f254f222215d1123741f.tar.bz2
loaded function
Diffstat (limited to 'src')
-rw-r--r--src/XFontImp.hh3
-rw-r--r--src/XftFontImp.hh3
-rw-r--r--src/XmbFontImp.hh3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/XFontImp.hh b/src/XFontImp.hh
index d48bd89..30ad7ed 100644
--- a/src/XFontImp.hh
+++ b/src/XFontImp.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: XFontImp.hh,v 1.1 2002/10/13 22:22:14 fluxgen Exp $ 22// $Id: XFontImp.hh,v 1.2 2002/10/15 16:44:26 fluxgen Exp $
23 23
24#ifndef XFONTIMP_HH 24#ifndef XFONTIMP_HH
25#define XFONTIMP_HH 25#define XFONTIMP_HH
@@ -34,6 +34,7 @@ public:
34 unsigned int textWidth(const char * const text, unsigned int size) const; 34 unsigned int textWidth(const char * const text, unsigned int size) const;
35 unsigned int height() const; 35 unsigned int height() const;
36 void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const; 36 void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const;
37 bool loaded() const { return m_fontstruct != 0; }
37private: 38private:
38 XFontStruct *m_fontstruct; 39 XFontStruct *m_fontstruct;
39}; 40};
diff --git a/src/XftFontImp.hh b/src/XftFontImp.hh
index de3a1ed..5cfc6ee 100644
--- a/src/XftFontImp.hh
+++ b/src/XftFontImp.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: XftFontImp.hh,v 1.1 2002/10/14 18:14:13 fluxgen Exp $ 22//$Id: XftFontImp.hh,v 1.2 2002/10/15 16:44:26 fluxgen Exp $
23 23
24#ifndef XFTFONTIMP_HH 24#ifndef XFTFONTIMP_HH
25#define XFTFONTIMP_HH 25#define XFTFONTIMP_HH
@@ -35,6 +35,7 @@ public:
35 void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const; 35 void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const;
36 unsigned int textWidth(const char *text, unsigned int len) const; 36 unsigned int textWidth(const char *text, unsigned int len) const;
37 unsigned int height() const; 37 unsigned int height() const;
38 bool loaded() const { return m_xftfont != 0; }
38private: 39private:
39 XftFont *m_xftfont; 40 XftFont *m_xftfont;
40}; 41};
diff --git a/src/XmbFontImp.hh b/src/XmbFontImp.hh
index d941af6..86854e1 100644
--- a/src/XmbFontImp.hh
+++ b/src/XmbFontImp.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: XmbFontImp.hh,v 1.1 2002/10/13 22:22:14 fluxgen Exp $ 22// $Id: XmbFontImp.hh,v 1.2 2002/10/15 16:44:25 fluxgen Exp $
23 23
24#ifndef XMBFONTIMP_HH 24#ifndef XMBFONTIMP_HH
25#define XMBFONTIMP_HH 25#define XMBFONTIMP_HH
@@ -34,6 +34,7 @@ public:
34 virtual void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const; 34 virtual void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const;
35 unsigned int textWidth(const char *text, unsigned int len) const; 35 unsigned int textWidth(const char *text, unsigned int len) const;
36 unsigned int height() const; 36 unsigned int height() const;
37 bool loaded() const { return m_fontset != 0; }
37private: 38private:
38 XFontSet m_fontset; 39 XFontSet m_fontset;
39 XFontSetExtents *m_setextents; 40 XFontSetExtents *m_setextents;