diff options
author | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
commit | 28b5c604490094e187494dcc566bd3d7a05a2c25 (patch) | |
tree | 8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/FbTk/FontImp.hh | |
parent | b9134162f9633784d9097df18769a699a62650fe (diff) | |
download | fluxbox_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.hh | 28 |
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 @@ | |||
33 | namespace FbTk { | 33 | namespace 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 | */ |
40 | class FontImp { | 40 | class FontImp { |
41 | public: | 41 | public: |
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 |
51 | protected: | 51 | protected: |
52 | FontImp() { } | 52 | FontImp() { } |
53 | }; | 53 | }; |
54 | 54 | ||
55 | }; // end namespace FbTk | 55 | }; // end namespace FbTk |