]> git.tdb.fi Git - r2c2.git/blobdiff - marklin.res
Add TrainView for viewing the layout from the train's perspective
[r2c2.git] / marklin.res
index 8efa84edd184bc65f5265ba7f128ab6a4ecc9cda..e44ac9d031fc733797c2c8ecada73f75f942f0d4 100644 (file)
@@ -13,6 +13,14 @@ style "label"
        special "text";
 };
 
+style "image"
+{
+       special "image"
+       {
+               fill 1.0 1.0;
+       };
+};
+
 graphic "tooltip"
 {
        texture "gui.png";
@@ -85,6 +93,34 @@ graphic "red_button_pressed"
        shadow { top 0; right 1; bottom 2; left 0; };
 };
 
+graphic "up_arrow_button"
+{
+       texture "gui.png";
+       slice 2 18 13 13;
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "up_arrow_button_pressed"
+{
+       texture "gui.png";
+       slice 17 18 13 13;
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "down_arrow_button"
+{
+       texture "gui.png";
+       slice 2 4 13 13;
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "down_arrow_button_pressed"
+{
+       texture "gui.png";
+       slice 17 4 13 13;
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
 style "button"
 {
        font_color 0 0 0;
@@ -142,6 +178,28 @@ style "button-red"
        };
 };
 
+style "button-arrow_up"
+{
+       part
+       {
+               graphic NORMAL "up_arrow_button";
+               graphic ACTIVE "up_arrow_button_pressed";
+               align 0.5 0.5;
+               fill 0.0 0.0;
+       };
+};
+
+style "button-arrow_down"
+{
+       part
+       {
+               graphic NORMAL "down_arrow_button";
+               graphic ACTIVE "down_arrow_button_pressed";
+               align 0.5 0.5;
+               fill 0.0 0.0;
+       };
+};
+
 graphic "yellow_lamp"
 {
        texture "gui.png";
@@ -227,6 +285,11 @@ style "panel"
        special "children";
 };
 
+style "panel-group"
+{
+       special "children";
+};
+
 graphic "sunken_black_bg"
 {
        texture "gui.png";
@@ -358,34 +421,6 @@ style "list"
        };
 };
 
-graphic "up_arrow_button"
-{
-       texture "gui.png";
-       slice 2 18 13 13;
-       shadow { top 0; right 1; bottom 2; left 0; };
-};
-
-graphic "up_arrow_button_pressed"
-{
-       texture "gui.png";
-       slice 17 18 13 13;
-       shadow { top 0; right 1; bottom 2; left 0; };
-};
-
-graphic "down_arrow_button"
-{
-       texture "gui.png";
-       slice 2 4 13 13;
-       shadow { top 0; right 1; bottom 2; left 0; };
-};
-
-graphic "down_arrow_button_pressed"
-{
-       texture "gui.png";
-       slice 17 4 13 13;
-       shadow { top 0; right 1; bottom 2; left 0; };
-};
-
 style "dropdown"
 {
        font_color 0.0 0.0 0.0;