]> Dogcows Code - chaz/openbox/blobdiff - src/Util.hh
Configureable button mappings!
[chaz/openbox] / src / Util.hh
index 1536226ca86b532f6bf51cf0598bc2a2bfb5aafc..393c00893beca853fcc7b10189029090ab48a454 100644 (file)
@@ -71,6 +71,7 @@ public:
   inline bool valid(void) const { return _x2 > _x1 && _y2 > _y1; }
 
   bool intersects(const Rect &a) const;
+  bool contains(int _x, int _y) const;
 
 private:
   int _x1, _y1, _x2, _y2;
@@ -99,4 +100,13 @@ struct PointerAssassin {
   }
 };
 
+std::string itostring(unsigned long i);
+std::string itostring(long i);
+inline std::string itostring(unsigned int i) {
+  return itostring((unsigned long) i);
+}
+inline std::string itostring(int i) {
+  return itostring((long) i);
+}
+
 #endif
This page took 0.023874 seconds and 4 git commands to generate.