aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Font.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-04-14 12:13:36 (GMT)
committerfluxgen <fluxgen>2003-04-14 12:13:36 (GMT)
commitf4ce449632eeb85aaeae63f32a7165d71047cde0 (patch)
tree22c3cf8815c69cf4397d0567fd07327e988f9981 /src/FbTk/Font.hh
parent0c895209d2d1425389100e6be734b960475c6883 (diff)
downloadfluxbox-f4ce449632eeb85aaeae63f32a7165d71047cde0.zip
fluxbox-f4ce449632eeb85aaeae63f32a7165d71047cde0.tar.bz2
merged with embedded-tab-branch
Diffstat (limited to 'src/FbTk/Font.hh')
-rw-r--r--src/FbTk/Font.hh9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/FbTk/Font.hh b/src/FbTk/Font.hh
index a120539..8ecb5ce 100644
--- a/src/FbTk/Font.hh
+++ b/src/FbTk/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.3 2002/12/08 18:37:08 fluxgen Exp $ 22//$Id: Font.hh,v 1.4 2003/04/14 12:07:03 fluxgen Exp $
23 23
24#ifndef FBTK_FONT_HH 24#ifndef FBTK_FONT_HH
25#define FBTK_FONT_HH 25#define FBTK_FONT_HH
@@ -64,7 +64,8 @@ public:
64 int ascent() const; 64 int ascent() const;
65 int descent() const; 65 int descent() const;
66 /** 66 /**
67 Rotate font in any angle (currently only 90 degrees supported and just XFont implementation) 67 Rotate font in any angle
68 (currently only 90 degrees supported and just XFont implementation)
68 */ 69 */
69 void rotate(float angle); 70 void rotate(float angle);
70 71
@@ -79,7 +80,9 @@ public:
79 @param y position 80 @param y position
80 @param rotate if the text should be drawn rotated (if it's rotated before) 81 @param rotate if the text should be drawn rotated (if it's rotated before)
81 */ 82 */
82 void drawText(Drawable w, int screen, GC gc, const char *text, size_t len, int x, int y, bool rotate=true) const; 83 void drawText(Drawable w, int screen, GC gc,
84 const char *text, size_t len,
85 int x, int y, bool rotate=true) const;
83 bool isAntialias() const { return m_antialias; } 86 bool isAntialias() const { return m_antialias; }
84 /// @return true if the font is rotated, else false 87 /// @return true if the font is rotated, else false
85 bool isRotated() const { return m_rotated; } 88 bool isRotated() const { return m_rotated; }