]> git.tdb.fi Git - r2c2.git/blobdiff - engineer.res
Initial revision
[r2c2.git] / engineer.res
diff --git a/engineer.res b/engineer.res
new file mode 100644 (file)
index 0000000..191663f
--- /dev/null
@@ -0,0 +1,226 @@
+font "dejavu-12.font";
+font "digitalreadout-16.font";
+
+texture "gui.png";
+
+graphic "button"
+{
+       texture "gui";
+       slice 8 112 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "buttondown"
+{
+       texture "gui";
+       slice 38 112 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "greenbutton"
+{
+       texture "gui";
+       slice 8 97 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "greenbuttondown"
+{
+       texture "gui";
+       slice 38 97 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "redbutton"
+{
+       texture "gui";
+       slice 8 82 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "redbuttondown"
+{
+       texture "gui";
+       slice 38 82 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "panel"
+{
+       texture "gui";
+       slice 8 158 30 20;
+       border { top 2; right 2; bottom 2; left 2; };
+};
+
+graphic "greenlamp"
+{
+       texture "gui";
+       slice 87 222 12 12;
+};
+
+graphic "greenlamplit"
+{
+       texture "gui";
+       slice 87 236 12 12;
+};
+
+graphic "redlamp"
+{
+       texture "gui";
+       slice 101 222 12 12;
+};
+
+graphic "redlamplit"
+{
+       texture "gui";
+       slice 101 236 12 12;
+};
+
+graphic "digidisplay"
+{
+       texture "gui";
+       slice 14 226 48 24;
+       border { top 5; right 5; bottom 5; left 5; };
+};
+
+graphic "hsliderslot"
+{
+       texture "gui";
+       slice 8 188 60 10;
+       border { top 0; right 5; bottom 0; left 5; };
+};
+
+graphic "hslider"
+{
+       texture "gui";
+       slice 73 105 32 13;
+       shadow { top 0; right 2; bottom 3; left 0; };
+};
+
+style "button" ""
+{
+       font_color 0 0 0;
+
+       part "button"
+       {
+               graphic normal "button";
+               graphic active "buttondown";
+               align 0 -1;
+               fill false false;
+       };
+
+       part "text"
+       {
+               align 0 1;
+       };
+};
+
+style "button" "green"
+{
+       font_color 0 0 0;
+
+       part "button"
+       {
+               graphic normal "greenbutton";
+               graphic active "greenbuttondown";
+               align 0 -1;
+               fill false false;
+       };
+
+       part "text"
+       {
+               align 0 1;
+       };
+};
+
+style "button" "red"
+{
+       font_color 0 0 0;
+
+       part "button"
+       {
+               graphic normal "redbutton";
+               graphic active "redbuttondown";
+               align 0 -1;
+               fill false false;
+       };
+
+       part "text"
+       {
+               align 0 1;
+       };
+};
+
+style "panel" ""
+{
+       part "background"
+       {
+               graphic normal "panel";
+       };
+       part "children";
+};
+
+style "indicator" "";
+
+style "indicator" "green"
+{
+       part "lamp"
+       {
+               graphic normal "greenlamp";
+               graphic active "greenlamplit";
+               fill false false;
+       };
+};
+
+style "indicator" "red"
+{
+       part "lamp"
+       {
+               graphic normal "redlamp";
+               graphic active "redlamplit";
+               fill false false;
+       };
+};
+
+style "label" ""
+{
+       font_color 0 0 0;
+       part "text";
+};
+
+style "label" "digital"
+{
+       font "digitalreadout-16";
+       font_color 0.3 1 0.3;
+
+       part "background"
+       {
+               graphic normal "digidisplay";
+       };
+
+       part "text"
+       {
+               fill false false;
+               align 0 0;
+       };
+};
+
+style "hslider" ""
+{
+       part "background"
+       {
+               graphic normal "hsliderslot";
+               fill true false;
+       };
+
+       part "slider"
+       {
+               graphic normal "hslider";
+       };
+};