]> git.tdb.fi Git - r2c2.git/blobdiff - marklin.res
Convert designer to use mspgbase instead of sdl
[r2c2.git] / marklin.res
diff --git a/marklin.res b/marklin.res
new file mode 100644 (file)
index 0000000..ce53e1c
--- /dev/null
@@ -0,0 +1,352 @@
+/* $Id$ */
+
+default_font "dejavu-12.font";
+
+graphic "greybutton"
+{
+       texture "gui.png";
+       slice 0 54 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "greybuttondown"
+{
+       texture "gui.png";
+       slice 24 54 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "greenbutton"
+{
+       texture "gui.png";
+       slice 0 42 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "greenbuttondown"
+{
+       texture "gui.png";
+       slice 24 42 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "redbutton"
+{
+       texture "gui.png";
+       slice 0 30 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "redbuttondown"
+{
+       texture "gui.png";
+       slice 24 30 21 10;
+       border { top 2; right 3; bottom 4; left 2; };
+       shadow { top 0; right 1; bottom 2; left 0; };
+};
+
+graphic "panelbg"
+{
+       texture "gui.png";
+       slice 0 68 30 20;
+       border { top 2; right 2; bottom 2; left 2; };
+};
+
+graphic "entrybg"
+{
+       texture "gui.png";
+       slice 32 72 20 16;
+       border { top 2; right 2; bottom 2; left 2; };
+};
+
+graphic "entrycursor"
+{
+       texture "gui.png";
+       slice 54 74 2 12;
+};
+
+graphic "dropdownbg"
+{
+       texture "gui.png";
+       slice 58 72 30 16;
+       border { top 4; right 20; bottom 4; left 2; };
+};
+
+graphic "dropdownarrow"
+{
+       texture "gui.png";
+       slice 90 75 10 8;
+};
+
+graphic "yellowlamp"
+{
+       texture "gui.png";
+       slice 30 102 12 12;
+};
+
+graphic "yellowlamplit"
+{
+       texture "gui.png";
+       slice 30 116 12 12;
+};
+
+graphic "greenlamp"
+{
+       texture "gui.png";
+       slice 44 102 12 12;
+};
+
+graphic "greenlamplit"
+{
+       texture "gui.png";
+       slice 44 116 12 12;
+};
+
+graphic "redlamp"
+{
+       texture "gui.png";
+       slice 58 102 12 12;
+};
+
+graphic "redlamplit"
+{
+       texture "gui.png";
+       slice 58 116 12 12;
+};
+
+graphic "digidisplay"
+{
+       texture "gui.png";
+       slice 0 108 28 20;
+       border { top 5; right 5; bottom 5; left 5; };
+};
+
+graphic "hsliderslot"
+{
+       texture "gui.png";
+       slice 0 90 60 10;
+       border { top 0; right 5; bottom 0; left 5; };
+};
+
+graphic "hsliderknob"
+{
+       texture "gui.png";
+       slice 0 15 32 13;
+       shadow { top 0; right 2; bottom 3; left 0; };
+};
+
+style "button"
+{
+       font_color 0 0 0;
+
+       part
+       {
+               graphic NORMAL "greybutton";
+               graphic ACTIVE "greybuttondown";
+               align 0.5 0.0;
+               fill 0.0 0.0;
+       };
+
+       special "text"
+       {
+               align 0.5 1.0;
+               fill 0.0 0.0;
+       };
+};
+
+style "button-green"
+{
+       font_color 0 0 0;
+
+       part
+       {
+               graphic NORMAL "greenbutton";
+               graphic ACTIVE "greenbuttondown";
+               align 0.5 0.0;
+               fill 0.0 0.0;
+       };
+
+       special "text"
+       {
+               align 0.5 1.0;
+               fill 0.0 0.0;
+       };
+};
+
+style "button-red"
+{
+       font_color 0 0 0;
+
+       part
+       {
+               graphic NORMAL "redbutton";
+               graphic ACTIVE "redbuttondown";
+               align 0.5 0.0;
+               fill 0.0 0.0;
+       };
+
+       special "text"
+       {
+               align 0.5 1.0;
+               fill 0.0 0.0;
+       };
+};
+
+style "panel"
+{
+       part
+       {
+               graphic NORMAL "panelbg";
+       };
+       special "children";
+};
+
+style "indicator"
+{
+       part
+       {
+               graphic NORMAL "yellowlamp";
+               graphic ACTIVE "yellowlamplit";
+               align 0.5 0.5;
+               fill 0.0 0.0;
+       };
+};
+
+style "indicator-green"
+{
+       part
+       {
+               graphic NORMAL "greenlamp";
+               graphic ACTIVE "greenlamplit";
+               align 0.5 0.5;
+               fill 0.0 0.0;
+       };
+};
+
+style "indicator-red"
+{
+       part
+       {
+               graphic NORMAL "redlamp";
+               graphic ACTIVE "redlamplit";
+               align 0.5 0.5;
+               fill 0.0 0.0;
+       };
+};
+
+style "label"
+{
+       font_color 0 0 0;
+       special "text";
+};
+
+style "label-digital"
+{
+       font "digitalreadout-16.font";
+       font_color 0.3 1 0.3;
+
+       part
+       {
+               graphic NORMAL "digidisplay";
+       };
+
+       special "text"
+       {
+               fill 0.0 0.0;
+               align 0.5 0.5;
+       };
+};
+
+style "hslider"
+{
+       part
+       {
+               graphic NORMAL "hsliderslot";
+               fill 1.0 0.0;
+       };
+
+       special "slider"
+       {
+               graphic NORMAL "hsliderknob";
+               fill 0.0 0.0;
+       };
+};
+
+style "entry"
+{
+       font_color 0 0 0;
+
+       part
+       {
+               graphic NORMAL "entrybg";
+       };
+
+       special "text"
+       {
+               align 0.0 0.5;
+               fill 0.0 0.0;
+               margin { left 3; right 3; };
+       };
+
+       special "cursor"
+       {
+               graphic FOCUS "entrycursor";
+               align 0.0 0.5;
+               fill 0.0 0.0;
+               margin { left 3; right 3; };
+       };
+};
+
+style "root"
+{
+       special "children";
+};
+
+style "dropdown"
+{
+       font_color 0.0 0.0 0.0;
+
+       part
+       {
+               graphic NORMAL "dropdownbg";
+       };
+
+       part
+       {
+               graphic NORMAL "dropdownarrow";
+               align 1.0 0.5;
+               fill 0.0 0.0;
+               margin { right 2; };
+       };
+
+       special "text"
+       {
+               align 0.0 0.5;
+               fill 0.0 0.0;
+               margin { left 2; };
+       };
+
+       special "list";
+};
+
+style "list"
+{
+       font_color 0.0 0.0 0.0;
+
+       part
+       {
+               graphic NORMAL "entrybg";
+       };
+
+       special "items"
+       {
+               margin { top 2; right 2; bottom 2; left 2; };
+       };
+};
+
+style "vslider";