]> git.tdb.fi Git - r2c2.git/blobdiff - r2c2.res
Split the single large toolbar into a few smaller collapsible ones
[r2c2.git] / r2c2.res
index b40871e313810183963b00988b49367cfd878e95..642433fb1a6f6b2a843f280794af675fcd156206 100644 (file)
--- a/r2c2.res
+++ b/r2c2.res
@@ -10,7 +10,11 @@ style "root"
 style "label"
 {
        font_color 0 0 0;
-       special "text";
+       special "text"
+       {
+               align 0.0 0.5;
+               fill 0.0 0.0;
+       };
 };
 
 style "image"
@@ -97,28 +101,56 @@ graphic "up_arrow_button"
 {
        texture "gui.png";
        slice 2 18 13 13;
-       shadow { top 0; right 1; bottom 2; left 0; };
+       shadow { right 1; bottom 2; };
 };
 
 graphic "up_arrow_button_pressed"
 {
        texture "gui.png";
-       slice 17 18 13 13;
-       shadow { top 0; right 1; bottom 2; left 0; };
+       slice 17 19 13 12;
+       shadow { right 1; bottom 1; };
 };
 
 graphic "down_arrow_button"
 {
        texture "gui.png";
        slice 2 4 13 13;
-       shadow { top 0; right 1; bottom 2; left 0; };
+       shadow { right 1; bottom 2; };
 };
 
 graphic "down_arrow_button_pressed"
 {
        texture "gui.png";
-       slice 17 4 13 13;
-       shadow { top 0; right 1; bottom 2; left 0; };
+       slice 17 5 13 12;
+       shadow { right 1; bottom 1; };
+};
+
+graphic "right_arrow_button"
+{
+       texture "gui.png";
+       slice 32 17 12 14;
+       shadow { right 1; bottom 2; };
+};
+
+graphic "right_arrow_button_pressed"
+{
+       texture "gui.png";
+       slice 32 3 12 13;
+       shadow { right 1; bottom 1; };
+};
+
+graphic "left_arrow_button"
+{
+       texture "gui.png";
+       slice 46 2 12 14;
+       shadow { right 1; bottom 2; };
+};
+
+graphic "left_arrow_button_pressed"
+{
+       texture "gui.png";
+       slice 60 3 12 13;
+       shadow { right 1; bottom 1; };
 };
 
 style "button"
@@ -200,6 +232,28 @@ style "button-arrow_down"
        };
 };
 
+style "button-arrow_right"
+{
+       part
+       {
+               graphic NORMAL "right_arrow_button";
+               graphic ACTIVE "right_arrow_button_pressed";
+               align 0.5 0.5;
+               fill 0.0 0.0;
+       };
+};
+
+style "button-arrow_left"
+{
+       part
+       {
+               graphic NORMAL "left_arrow_button";
+               graphic ACTIVE "left_arrow_button_pressed";
+               align 0.5 0.5;
+               fill 0.0 0.0;
+       };
+};
+
 graphic "yellow_lamp"
 {
        texture "gui.png";