]> git.tdb.fi Git - r2c2.git/blobdiff - r2c2.res
Separate train routing logic to a class derived from TrainAI
[r2c2.git] / r2c2.res
index b40871e313810183963b00988b49367cfd878e95..2fbdb7826602d12108a30ed36d003d06feecad7a 100644 (file)
--- a/r2c2.res
+++ b/r2c2.res
@@ -1,21 +1,23 @@
-/* $Id$ */
-
 default_font "dejavu-12.font";
 
 style "root"
 {
-       special "children";
+       part "children";
 };
 
 style "label"
 {
        font_color 0 0 0;
-       special "text";
+       part "text"
+       {
+               align 0.0 0.5;
+               fill 0.0 0.0;
+       };
 };
 
 style "image"
 {
-       special "image"
+       part "image"
        {
                fill 1.0 1.0;
        };
@@ -37,7 +39,7 @@ style "label-tooltip"
                graphic NORMAL "tooltip";
        };
 
-       special "text"
+       part "text"
        {
                align 0.0 0.5;
                fill 0.0 0.0;
@@ -97,28 +99,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"
@@ -133,7 +163,7 @@ style "button"
                fill 0.0 0.0;
        };
 
-       special "text"
+       part "text"
        {
                align 0.5 1.0;
                fill 0.0 0.0;
@@ -152,7 +182,7 @@ style "button-green"
                fill 0.0 0.0;
        };
 
-       special "text"
+       part "text"
        {
                align 0.5 1.0;
                fill 0.0 0.0;
@@ -171,7 +201,7 @@ style "button-red"
                fill 0.0 0.0;
        };
 
-       special "text"
+       part "text"
        {
                align 0.5 1.0;
                fill 0.0 0.0;
@@ -200,6 +230,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";
@@ -282,12 +334,12 @@ style "panel"
        {
                graphic NORMAL "raised_grey_bg";
        };
-       special "children";
+       part "children";
 };
 
 style "panel-group"
 {
-       special "children";
+       part "children";
 };
 
 graphic "sunken_black_bg"
@@ -307,7 +359,7 @@ style "label-digital"
                graphic NORMAL "sunken_black_bg";
        };
 
-       special "text"
+       part "text"
        {
                fill 0.0 0.0;
                align 0.5 0.5;
@@ -337,14 +389,14 @@ style "entry"
                graphic NORMAL "sunken_white_bg";
        };
 
-       special "text"
+       part "text"
        {
                align 0.0 0.5;
                fill 0.0 0.0;
                margin { left 3; right 3; };
        };
 
-       special "cursor"
+       part "cursor"
        {
                graphic FOCUS "cursor";
                align 0.0 0.5;
@@ -363,20 +415,20 @@ style "entry-multiline"
                graphic NORMAL "sunken_white_bg";
        };
 
-       special "text"
+       part "text"
        {
                align 0.0 1.0;
                fill 0.0 0.0;
                margin { top 2; right 13; left 3; bottom 2; };
        };
 
-       special "cursor"
+       part "cursor"
        {
                graphic FOCUS "cursor";
                size 2 12;
        };
 
-       special "slider"
+       part "slider"
        {
                align 1.0 0.0;
                fill 0.0 1.0;
@@ -401,19 +453,19 @@ style "list"
                graphic NORMAL "sunken_white_bg";
        };
 
-       special "selection"
+       part "selection"
        {
                graphic NORMAL "selection";
                fill 1.0 1.0;
                margin { top 2; right 13; bottom 2; left 2; };
        };
 
-       special "items"
+       part "items"
        {
                margin { top 2; right 13; bottom 2; left 2; };
        };
 
-       special "slider"
+       part "slider"
        {
                align 1.0 0.0;
                fill 0.0 1.0;
@@ -440,14 +492,14 @@ style "dropdown"
                fill 0.0 0.0;
        };
 
-       special "text"
+       part "text"
        {
                align 0.0 0.5;
                fill 0.0 0.0;
                margin { left 2; };
        };
 
-       special "list";
+       part "list";
 };
 
 graphic "switch_up"
@@ -468,7 +520,7 @@ style "toggle"
 {
        font_color 0.0 0.0 0.0;
 
-       special "text"
+       part "text"
        {
                align 0.5 1.0;
                fill 0.0 0.0;
@@ -507,7 +559,7 @@ style "hslider"
                margin { left 4; right 4; };
        };
 
-       special "slider"
+       part "slider"
        {
                graphic NORMAL "horizontal_knob";
                fill 0.0 0.0;
@@ -538,7 +590,7 @@ style "vslider"
                margin { top 4; bottom 4; };
        };
 
-       special "slider"
+       part "slider"
        {
                graphic NORMAL "vertical_knob";
                fill 0.0 0.0;