]> git.tdb.fi Git - r2c2.git/blobdiff - marklin.res
Foundations of using physics simulation for trains
[r2c2.git] / marklin.res
index ce53e1ce67e23ed11f1a9870d36ad6fdd99a5a67..bea052d66fde4299cee7dee85ce9799a4c64772d 100644 (file)
@@ -126,6 +126,13 @@ graphic "digidisplay"
        border { top 5; right 5; bottom 5; left 5; };
 };
 
+graphic "tooltip"
+{
+       texture "gui.png";
+       slice 72 90 20 16;
+       border { top 2; right 2; bottom 2; left 2; };
+};
+
 graphic "hsliderslot"
 {
        texture "gui.png";
@@ -140,6 +147,20 @@ graphic "hsliderknob"
        shadow { top 0; right 2; bottom 3; left 0; };
 };
 
+graphic "switchdown"
+{
+       texture "gui.png";
+       slice 47 43 20 21;
+       shadow { top 0; right 2; bottom 3; left 0; };
+};
+
+graphic "switchup"
+{
+       texture "gui.png";
+       slice 69 43 20 21;
+       shadow { top 0; right 2; bottom 3; left 0; };
+};
+
 style "button"
 {
        font_color 0 0 0;
@@ -197,6 +218,25 @@ style "button-red"
        };
 };
 
+style "toggle"
+{
+       font_color 0.0 0.0 0.0;
+
+       special "text"
+       {
+               align 0.5 1.0;
+               fill 0.0 0.0;
+       };
+
+       part
+       {
+               align 0.5 0.0;
+               fill 0.0 0.0;
+               graphic NORMAL "switchdown";
+               graphic ACTIVE "switchup";
+       };
+};
+
 style "panel"
 {
        part
@@ -262,6 +302,23 @@ style "label-digital"
        };
 };
 
+style "label-tooltip"
+{
+       font_color 0.0 0.0 0.0;
+
+       part
+       {
+               graphic NORMAL "tooltip";
+       };
+
+       special "text"
+       {
+               align 0.0 0.5;
+               fill 0.0 0.0;
+               margin { top 2; right 2; bottom 2; left 2; };
+       };
+};
+
 style "hslider"
 {
        part