]> git.tdb.fi Git - r2c2.git/blobdiff - r2c2.res
Things with different gauges don't go together
[r2c2.git] / r2c2.res
index d16f555e6bd452cca7a74620d62946705f39f4d6..c2f72c1a94c1ecf89c02dbc1c6f970baea8e04bd 100644 (file)
--- a/r2c2.res
+++ b/r2c2.res
@@ -162,6 +162,20 @@ graphic "left_arrow_button_pressed"
        shadow { right 1; bottom 1; };
 };
 
+graphic "red_cross_button"
+{
+       texture "gui.png";
+       slice 74 2 13 14;
+       shadow { right 1; bottom 2; };
+};
+
+graphic "red_cross_button_pressed"
+{
+       texture "gui.png";
+       slice 89 3 13 13;
+       shadow { right 1; bottom 1; };
+};
+
 style "button"
 {
        font_color 0 0 0;
@@ -269,6 +283,17 @@ style "button-arrow_left"
        };
 };
 
+style "button-red_cross"
+{
+       part
+       {
+               graphic NORMAL "red_cross_button";
+               graphic ACTIVE "red_cross_button_pressed";
+               align 0.5 0.5;
+               fill 0.0 0.0;
+       };
+};
+
 graphic "yellow_lamp"
 {
        texture "gui.png";
@@ -380,7 +405,7 @@ style "label-digital"
        {
                fill 0.0 0.0;
                align 0.5 0.5;
-               margin { top 1; };
+               margin { horizontal 4; top 2; bottom 1; };
        };
 };
 
@@ -463,20 +488,11 @@ graphic "selection"
 
 style "list"
 {
-       font_color 0.0 0.0 0.0;
-
        part
        {
                graphic NORMAL "sunken_white_bg";
        };
 
-       part "selection"
-       {
-               graphic NORMAL "selection";
-               fill 1.0 1.0;
-               margin { vertical 2; right 13; left 2; };
-       };
-
        part "items"
        {
                margin { vertical 2; right 13; left 2; };
@@ -491,6 +507,20 @@ style "list"
        };
 };
 
+style "listitem"
+{
+       part
+       {
+               graphic ACTIVE "selection";
+               fill 1.0 1.0;
+       };
+
+       part "children"
+       {
+               margin { vertical 1; horizontal 2; };
+       };
+};
+
 style "dropdown"
 {
        font_color 0.0 0.0 0.0;
@@ -541,6 +571,7 @@ style "toggle"
        {
                align 0.5 1.0;
                fill 0.0 0.0;
+               margin { bottom 10; };
        };
 
        part
@@ -579,6 +610,7 @@ style "hslider"
        part "slider"
        {
                graphic NORMAL "horizontal_knob";
+               align 0.0 0.5;
                fill 0.0 0.0;
        };
 };
@@ -614,3 +646,86 @@ style "vslider"
                align 0.0 1.0;
        };
 };
+
+style "draghandle";
+
+graphic "pointer_down"
+{
+       texture "gui.png";
+       slice 98 36 13 14;
+       shadow { right 1; bottom 2; };
+};
+
+graphic "pointer_up"
+{
+       texture "gui.png";
+       slice 83 36 13 14;
+       shadow { right 1; bottom 2; };
+};
+
+graphic "pointer_left"
+{
+       texture "gui.png";
+       slice 83 21 13 14;
+       shadow { right 1; bottom 2; };
+};
+
+graphic "pointer_right"
+{
+       texture "gui.png";
+       slice 98 21 13 14;
+       shadow { right 1; bottom 2; };
+};
+
+style "toggle-pointer_left"
+{
+       font_color 0.0 0.0 0.0;
+
+       part "text"
+       {
+               align 0.0 0.5;
+               fill 0.0 0.0;
+               margin { vertical 2; right 4; left 2; };
+       };
+
+       part
+       {
+               graphic NORMAL "vertical_slot";
+               align 1.0 0.0;
+               fill 0.0 1.0;
+       };
+
+       part
+       {
+               graphic ACTIVE "pointer_left";
+               align 1.0 0.5;
+               fill 0.0 0.0;
+       };
+};
+
+graphic "lever_down"
+{
+       texture "gui.png";
+       slice 103 52 20 22;
+       shadow { right 3; bottom 4; };
+};
+
+graphic "lever_up"
+{
+       texture "gui.png";
+       slice 103 76 20 22;
+       shadow { right 3; bottom 4; };
+};
+
+style "toggle-lever"
+{
+       font_color 0.0 0.0 0.0;
+
+       part
+       {
+               align 0.5 0.5;
+               fill 0.0 0.0;
+               graphic NORMAL "lever_down";
+               graphic ACTIVE "lever_up";
+       };
+};