*** empty log message ***
authorroot <root>
Mon, 16 Jan 2006 18:09:28 +0000 (18:09 +0000)
committerroot <root>
Mon, 16 Jan 2006 18:09:28 +0000 (18:09 +0000)
src/rxvt.h
src/scrollbar-rxvt.C

index daf0b2d5d2d2934062a34b5db3f9a049ae6e07c6..83775f5406ede4625f98afc866066f2e8a7f43fe 100644 (file)
@@ -1497,7 +1497,6 @@ struct rxvt_term : zero_initialized, rxvt_vars {
 
 #if defined(RXVT_SCROLLBAR)
   // scrollbar-rxvt.C
-  void Draw_button (int x, int y, int state, int dirn);
   int scrollbar_show_rxvt (int update, int last_top, int last_bot, int scrollbar_len);
 #endif
 
index 740603ceb661ce5efbb26451a21ba6125651bd3a..f87e421d8edb427ab9e38cc56c46cbb6a12638cb 100644 (file)
 
 #define SHADOW_WIDTH 1
 
-static void  
+static void
 draw_shadow (rxvt_term *term, int x, int y, int w, int h)
-{       
+{
   int shadow;
-    
+
   shadow = (w == 0 || h == 0) ? 1 : SHADOW_WIDTH;
   w += x - 1;
   h += y - 1;
+
   for (; shadow-- > 0; x++, y++, w--, h--)
-    {     
+    {
       XDrawLine (term->display->display, term->scrollBar.win, term->topShadowGC, x, y, w, y);
       XDrawLine (term->display->display, term->scrollBar.win, term->topShadowGC, x, y, x, h);
       XDrawLine (term->display->display, term->scrollBar.win, term->botShadowGC, w, h, w, y + 1);
       XDrawLine (term->display->display, term->scrollBar.win, term->botShadowGC, w, h, x + 1, h);
-    }           
-}                 
+    }
+}
 
 /* draw triangular button with a shadow of 2 pixels */
 static void