]> Dogcows Code - chaz/openbox/blobdiff - otk/font.hh
set the gravity to center the dialog.
[chaz/openbox] / otk / font.hh
index afc36deafa06f4599e19e049cc7c745ee41f3d17..618d4f6ebb99cd38a5c768c40b7f6b75c5b061ff 100644 (file)
@@ -11,7 +11,7 @@ extern "C" {
 #include <X11/Xft/Xft.h>
 }
 
-#include <assert.h>
+#include <cassert>
 
 namespace otk {
 
@@ -57,10 +57,10 @@ public:
 
   inline const std::string &fontstring() const { return _fontstring; }
 
-  unsigned int height() const;
-  unsigned int maxCharWidth() const;
+  int height() const;
+  int maxCharWidth() const;
 
-  unsigned int measureString(const ustring &string) const;
+  int measureString(const ustring &string) const;
 
   // The RenderControl classes use the internal data to render the fonts, but
   // noone else needs it, so its private.
This page took 0.021686 seconds and 4 git commands to generate.