aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FontImp.hh
diff options
context:
space:
mode:
authorrathnor <rathnor>2002-12-01 13:42:15 (GMT)
committerrathnor <rathnor>2002-12-01 13:42:15 (GMT)
commit28b5c604490094e187494dcc566bd3d7a05a2c25 (patch)
tree8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/FbTk/FontImp.hh
parentb9134162f9633784d9097df18769a699a62650fe (diff)
downloadfluxbox_pavel-28b5c604490094e187494dcc566bd3d7a05a2c25.zip
fluxbox_pavel-28b5c604490094e187494dcc566bd3d7a05a2c25.tar.bz2
Indenting from tabs to emacs 4-space
Diffstat (limited to 'src/FbTk/FontImp.hh')
-rw-r--r--src/FbTk/FontImp.hh28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/FbTk/FontImp.hh b/src/FbTk/FontImp.hh
index 5414daf..37acaf4 100644
--- a/src/FbTk/FontImp.hh
+++ b/src/FbTk/FontImp.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: FontImp.hh,v 1.1 2002/11/26 16:01:27 fluxgen Exp $ 22// $Id: FontImp.hh,v 1.2 2002/12/01 13:42:14 rathnor Exp $
23 23
24#ifndef FBTK_FONTIMP_HH 24#ifndef FBTK_FONTIMP_HH
25#define FBTK_FONTIMP_HH 25#define FBTK_FONTIMP_HH
@@ -33,23 +33,23 @@
33namespace FbTk { 33namespace FbTk {
34 34
35/** 35/**
36 FontImp, second part of the bridge pattern for fonts 36 FontImp, second part of the bridge pattern for fonts
37 pure interface class. 37 pure interface class.
38 @see Font 38 @see Font
39*/ 39*/
40class FontImp { 40class FontImp {
41public: 41public:
42 virtual ~FontImp() { } 42 virtual ~FontImp() { }
43 virtual bool load(const std::string &name) = 0; 43 virtual bool load(const std::string &name) = 0;
44 virtual void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const = 0; 44 virtual void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y) const = 0;
45 virtual unsigned int textWidth(const char * const text, unsigned int size) const = 0; 45 virtual unsigned int textWidth(const char * const text, unsigned int size) const = 0;
46 virtual int ascent() const = 0; 46 virtual int ascent() const = 0;
47 virtual int descent() const = 0; 47 virtual int descent() const = 0;
48 virtual unsigned int height() const = 0; 48 virtual unsigned int height() const = 0;
49 virtual bool loaded() const = 0; 49 virtual bool loaded() const = 0;
50 virtual void rotate(float angle) { } // by default, no rotate support 50 virtual void rotate(float angle) { } // by default, no rotate support
51protected: 51protected:
52 FontImp() { } 52 FontImp() { }
53}; 53};
54 54
55}; // end namespace FbTk 55}; // end namespace FbTk