]> Dogcows Code - chaz/openbox/commitdiff
default to line width of 0, which is more efficient than 1
authorDana Jansens <danakj@orodu.net>
Sat, 24 Aug 2002 01:14:34 +0000 (01:14 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 24 Aug 2002 01:14:34 +0000 (01:14 +0000)
src/GCCache.hh

index fc4ba1332129378210ead46b40b91aa05549539e..e7a6c2b7c4305f288932b9ec1c06bc57a12617d2 100644 (file)
@@ -44,7 +44,7 @@ public:
 private:
   BGCCacheContext(const BaseDisplay * const _display)
     : display(_display), gc(0), pixel(0ul), fontid(0ul),
-      function(0), subwindow(0), used(false), screen(~(0u)), linewidth(1) {}
+      function(0), subwindow(0), used(false), screen(~(0u)), linewidth(0) {}
 
   const BaseDisplay *display;
   GC gc;
@@ -113,7 +113,7 @@ private:
 class BPen {
 public:
   inline BPen(const BColor &_color,  const XFontStruct * const _font = 0,
-              int _linewidth = 1, int _function = GXcopy,
+              int _linewidth = 0, int _function = GXcopy,
               int _subwindow = ClipByChildren)
     : color(_color), font(_font), linewidth(_linewidth), function(_function),
       subwindow(_subwindow), cache(_color.display()->gcCache()), item(0) { }
This page took 0.023122 seconds and 4 git commands to generate.