]> git.tdb.fi Git - r2c2.git/blobdiff - marklin.res
Make LCD output selectable at runtime through an extra I/O pin
[r2c2.git] / marklin.res
index 8efa84edd184bc65f5265ba7f128ab6a4ecc9cda..b40871e313810183963b00988b49367cfd878e95 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";
@@ -248,6 +311,7 @@ style "label-digital"
        {
                fill 0.0 0.0;
                align 0.5 0.5;
+               margin { top 1; };
        };
 };
 
@@ -297,7 +361,6 @@ style "entry-multiline"
        part
        {
                graphic NORMAL "sunken_white_bg";
-               margin { right 10; };
        };
 
        special "text"
@@ -318,6 +381,7 @@ style "entry-multiline"
                align 1.0 0.0;
                fill 0.0 1.0;
                size 10 0;
+               margin { top 3; right 2; bottom 3; };
        };
 };
 
@@ -335,19 +399,18 @@ style "list"
        part
        {
                graphic NORMAL "sunken_white_bg";
-               margin { right 10; };
        };
 
        special "selection"
        {
                graphic NORMAL "selection";
                fill 1.0 1.0;
-               margin { top 2; right 12; bottom 2; left 2; };
+               margin { top 2; right 13; bottom 2; left 2; };
        };
 
        special "items"
        {
-               margin { top 2; right 12; bottom 2; left 2; };
+               margin { top 2; right 13; bottom 2; left 2; };
        };
 
        special "slider"
@@ -355,37 +418,10 @@ style "list"
                align 1.0 0.0;
                fill 0.0 1.0;
                size 10 0;
+               margin { top 3; right 2; bottom 3; };
        };
 };
 
-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;
@@ -450,8 +486,8 @@ style "toggle"
 graphic "horizontal_slot"
 {
        texture "gui.png";
-       slice 28 93 20 10;
-       border { top 0; right 5; bottom 0; left 5; };
+       slice 32 97 12 2;
+       border { left 1; right 1; };
 };
 
 graphic "horizontal_knob"
@@ -466,7 +502,9 @@ style "hslider"
        part
        {
                graphic NORMAL "horizontal_slot";
+               align 0.5 0.5;
                fill 1.0 0.0;
+               margin { left 4; right 4; };
        };
 
        special "slider"
@@ -479,8 +517,8 @@ style "hslider"
 graphic "vertical_slot"
 {
        texture "gui.png";
-       slice 28 71 10 20;
-       border { top 5; right 0; bottom 5; left 0; };
+       slice 32 75 2 12;
+       border { top 1; bottom 1; };
 };
 
 graphic "vertical_knob"
@@ -495,12 +533,15 @@ style "vslider"
        part
        {
                graphic NORMAL "vertical_slot";
+               align 0.5 0.5;
                fill 0.0 1.0;
+               margin { top 4; bottom 4; };
        };
 
        special "slider"
        {
                graphic NORMAL "vertical_knob";
                fill 0.0 0.0;
+               align 0.0 1.0;
        };
 };