Draw arrows in the scroll area
[gregoa/zavai.git] / src / fisheye.vala
index b8342393263718defac1526b0de5cbbf119af49c..5ce56e2e437e7ae8a2c8727b3cd965929f9de632 100644 (file)
@@ -315,6 +315,16 @@ public class FisheyeList : Gtk.DrawingArea
                drawable.draw_rectangle(style.bg_gc[Gtk.StateType.INSENSITIVE], true,
                        allocation.width/2, 0, allocation.width, allocation.height);
 
+               for (int y = 0; y < allocation.height/2 - 30; y += 30)
+               {
+                       Gtk.paint_arrow(style, (Gdk.Window*)drawable, Gtk.StateType.INSENSITIVE, Gtk.ShadowType.NONE,
+                               null, this, null, Gtk.ArrowType.UP, false,
+                               allocation.width/2, y, allocation.width/2, 10);
+                       Gtk.paint_arrow(style, (Gdk.Window*)drawable, Gtk.StateType.INSENSITIVE, Gtk.ShadowType.NONE,
+                               null, this, null, Gtk.ArrowType.DOWN, false,
+                               allocation.width/2, allocation.height-y-30, allocation.width/2, 10);
+               }
+
                Gdk.Rectangle expose_area = Gdk.Rectangle();
                expose_area.x = expose_area.y = 0;
                expose_area.width = allocation.width;