aboutsummaryrefslogtreecommitdiff
path: root/src/FontImp.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-25 14:07:21 (GMT)
committerfluxgen <fluxgen>2002-11-25 14:07:21 (GMT)
commit99c92a637392a988382559d0b162aed68ab83ba8 (patch)
treed353aa10684ed0814327a64e9aef041510e08a41 /src/FontImp.hh
parent1fc16d3d3d8a62a9697f4a42044b695707fe5d50 (diff)
downloadfluxbox_pavel-99c92a637392a988382559d0b162aed68ab83ba8.zip
fluxbox_pavel-99c92a637392a988382559d0b162aed68ab83ba8.tar.bz2
fixed rotated text on vertical tab in XFontImp and a rotate function in FontImp interface
Diffstat (limited to 'src/FontImp.hh')
-rw-r--r--src/FontImp.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FontImp.hh b/src/FontImp.hh
index f822b73..95f980a 100644
--- a/src/FontImp.hh
+++ b/src/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.3 2002/10/19 13:57:48 fluxgen Exp $ 22// $Id: FontImp.hh,v 1.4 2002/11/25 14:07:20 fluxgen Exp $
23 23
24#ifndef FBTK_FONTIMP_HH 24#ifndef FBTK_FONTIMP_HH
25#define FBTK_FONTIMP_HH 25#define FBTK_FONTIMP_HH
@@ -35,6 +35,7 @@ namespace FbTk {
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*/ 39*/
39class FontImp { 40class FontImp {
40public: 41public:
@@ -46,6 +47,7 @@ public:
46 virtual int descent() const = 0; 47 virtual int descent() const = 0;
47 virtual unsigned int height() const = 0; 48 virtual unsigned int height() const = 0;
48 virtual bool loaded() const = 0; 49 virtual bool loaded() const = 0;
50 virtual void rotate(float angle) { } // by default, no rotate support
49protected: 51protected:
50 FontImp() { } 52 FontImp() { }
51}; 53};