]> Dogcows Code - chaz/openbox/blobdiff - otk/font.hh
.cvsignore is a cvs meta file that tells cvs not to include specific files
[chaz/openbox] / otk / font.hh
index 8e736d8eb746c3958c3b24ddd41ead0c4ec2f92f..dcff65260ea8028944693039caf23139c14bb7f6 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef   __font_hh
 #define   __font_hh
 
-#include "userstring.hh"
+#include "ustring.hh"
 
 extern "C" {
 #include <X11/Xlib.h>
@@ -12,8 +12,6 @@ extern "C" {
 
 #include <assert.h>
 
-#include <string>
-
 namespace otk {
 
 class Color;
@@ -60,24 +58,15 @@ public:
   unsigned int height() const;
   unsigned int maxCharWidth() const;
 
-  //! Measures the length of a string
-  /*!
-    @param string The string to measure, it should be UTF8 encoded.
-  */
-  unsigned int measureString(const userstring &string) const;
+  unsigned int measureString(const ustring &string) const;
 
   //! Draws a string into an XftDraw object
   /*!
     Be Warned: If you use an XftDraw object and a color, or a font from
     different screens, you WILL have unpredictable results! :)
-    @param d The drawable to render into.
-    @param x The X offset onto the drawable at which to start drawing.
-    @param x The Y offset onto the drawable at which to start drawing.
-    @param color The color to use for drawing the text.
-    @param string The string to draw, it should be UTF8 encoded.
   */
   void drawString(XftDraw *d, int x, int y, const Color &color,
-                  const userstring &string) const;
+                  const ustring &string) const;
 };
 
 }
This page took 0.021004 seconds and 4 git commands to generate.