X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=marklin.res;h=f2f69f378979c90410911d581b6b8fee98066aa2;hb=f9254f57b736927a57a2fd793ee18f6c9766dd43;hp=ce53e1ce67e23ed11f1a9870d36ad6fdd99a5a67;hpb=38fb8d56efde037a71c46a58bda314655e68ab6c;p=r2c2.git diff --git a/marklin.res b/marklin.res index ce53e1c..f2f69f3 100644 --- a/marklin.res +++ b/marklin.res @@ -140,6 +140,20 @@ graphic "hsliderknob" shadow { top 0; right 2; bottom 3; left 0; }; }; +graphic "switchdown" +{ + texture "gui.png"; + slice 46 43 20 21; + shadow { top 0; right 2; bottom 3; left 0; }; +}; + +graphic "switchup" +{ + texture "gui.png"; + slice 67 43 20 21; + shadow { top 0; right 2; bottom 3; left 0; }; +}; + style "button" { font_color 0 0 0; @@ -197,6 +211,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