summaryrefslogtreecommitdiffstats
path: root/data/themes/ulticontroller_2.0/mainscreen.edc
diff options
context:
space:
mode:
Diffstat (limited to 'data/themes/ulticontroller_2.0/mainscreen.edc')
-rw-r--r--data/themes/ulticontroller_2.0/mainscreen.edc713
1 files changed, 354 insertions, 359 deletions
diff --git a/data/themes/ulticontroller_2.0/mainscreen.edc b/data/themes/ulticontroller_2.0/mainscreen.edc
index 01d19e3..a5fe4ae 100644
--- a/data/themes/ulticontroller_2.0/mainscreen.edc
+++ b/data/themes/ulticontroller_2.0/mainscreen.edc
@@ -1,398 +1,393 @@
-collections {
- sounds {
- sample {
- name: "sclick" RAW;
- source: "what.wav";
- }
- tone: "tclick" 2600;
- }
- group {
- name: "mainscreen";
- min: 128 64;
- max: 128 64;
- parts {
- part {
- name: "background";
- type: RECT;
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- color: 0 0 0 255;
-
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- }
- }
-
- description {
- state: "error" 0.0;
- color: 255 255 255 255;
-
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- }
+group {
+ name: "mainscreen";
+ min: 128 64;
+ max: 128 64;
+ parts {
+ part {
+ name: "background";
+ type: RECT;
+ mouse_events: 0;
+
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 255;
+
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
}
}
- part {
- name: "print";
- type: RECT;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- min: 60 40;
- max: 60 40;
- align: 0.0 0.0;
- color: 0 0 0 255;
-
- rel1 {
- to_x: "vspacer";
- offset: -62 3;
- }
- }
- description {
- state: "active" 0.0;
- min: 60 40;
- max: 60 40;
- align: 0.0 0.0;
- color: 255 255 255 255;
-
- rel1 {
- to_x: "vspacer";
- offset: -62 3;
- }
+ description {
+ state: "error" 0.0;
+ color: 255 255 255 255;
+
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
}
}
+ }
- part {
- name: "print.text";
- type: TEXT;
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
-
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- to: "print";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- to: "print";
- }
- text {
- text: "Print";
- font: "oled_font_large";
- align: 0.5 0.5;
- }
- }
- description {
- state: "active" 0.0;
- color: 0 0 0 255;
-
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- to: "print";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- to: "print";
- }
- text {
- text: "Print";
- font: "oled_font_large";
- align: 0.5 0.5;
- }
+ part {
+ name: "print";
+ type: RECT;
+ mouse_events: 1;
+
+ description {
+ state: "default" 0.0;
+ min: 60 40;
+ max: 60 40;
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+
+ rel1 {
+ to_x: "vspacer";
+ offset: -62 3;
}
}
-
- part {
- name: "vspacer";
- type: RECT;
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- min: 1 45;
- max: 1 45;
- align: 0.0 0.0;
- color: 255 255 255 255;
-
- rel1 {
- relative: 0.0 0.0;
- offset: 64 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 64 45;
- }
+ description {
+ state: "active" 0.0;
+ min: 60 40;
+ max: 60 40;
+ align: 0.0 0.0;
+ color: 255 255 255 255;
+
+ rel1 {
+ to_x: "vspacer";
+ offset: -62 3;
}
}
+ }
- part {
- name: "material";
- type: RECT;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- min: 60 40;
- max: 60 40;
- align: 0.0 0.0;
- color: 0 0 0 255;
-
- rel1 {
- to_x: "vspacer";
- offset: 3 3;
- }
- }
- description {
- state: "active" 0.0;
- min: 60 40;
- max: 60 40;
- align: 0.0 0.0;
- color: 255 255 255 255;
-
- rel1 {
- to_x: "vspacer";
- offset: 3 3;
- }
+ part {
+ name: "print.text";
+ type: TEXT;
+ mouse_events: 0;
+
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to: "print";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ to: "print";
+ }
+ text {
+ text: "Print";
+ font: "oled_font_large";
+ align: 0.5 0.5;
}
}
-
- part {
- name: "material.text";
- type: TEXT;
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
-
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- to: "material";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- to: "material";
- }
- text {
- text: "Material";
- font: "oled_font_large";
- align: 0.5 0.5;
- }
- }
-
- description {
- state: "active" 0.0;
- color: 0 0 0 255;
-
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- to: "material";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- to: "material";
- }
- text {
- text: "Material";
- font: "oled_font_large";
- align: 0.5 0.5;
- }
+ description {
+ state: "active" 0.0;
+ color: 0 0 0 255;
+
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to: "print";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ to: "print";
+ }
+ text {
+ text: "Print";
+ font: "oled_font_large";
+ align: 0.5 0.5;
}
}
+ }
- part {
- name: "hspacer";
- type: RECT;
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- min: 128 1;
- max: 128 1;
- align: 0.0 0.0;
- color: 255 255 255 255;
-
- rel1 {
- relative: 0.0 0.0;
- offset: 0 46;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 128 46;
- }
+ part {
+ name: "vspacer";
+ type: RECT;
+ mouse_events: 0;
+
+ description {
+ state: "default" 0.0;
+ min: 1 45;
+ max: 1 45;
+ align: 0.0 0.0;
+ color: 255 255 255 255;
+
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 64 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 64 45;
}
}
+ }
- part {
- name: "maintanance";
- type: RECT;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- min: 126 20;
- max: 126 20;
- align: 0.0 0.0;
- color: 0 0 0 255;
-
- rel1 {
- to_y: "hspacer";
- offset: 2 2;
- }
- }
- description {
- state: "active" 0.0;
- min: 126 20;
- max: 126 20;
- align: 0.0 0.0;
- color: 255 255 255 255;
-
- rel1 {
- to_y: "hspacer";
- offset: 2 2;
- }
+ part {
+ name: "material";
+ type: RECT;
+ mouse_events: 1;
+
+ description {
+ state: "default" 0.0;
+ min: 60 40;
+ max: 60 40;
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+
+ rel1 {
+ to_x: "vspacer";
+ offset: 3 3;
}
}
-
- part {
- name: "maintanance.text";
- type: TEXT;
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
-
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- to: "maintanance";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- to: "maintanance";
- }
- text {
- text: "Maintanance";
- font: "oled_font_large";
- align: 0.5 0.5;
- }
- }
-
- description {
- state: "active" 0.0;
- color: 0 0 0 255;
-
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- to: "maintanance";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- to: "maintanance";
- }
- text {
- text: "Maintanance";
- font: "oled_font_large";
- align: 0.5 0.5;
- }
+ description {
+ state: "active" 0.0;
+ min: 60 40;
+ max: 60 40;
+ align: 0.0 0.0;
+ color: 255 255 255 255;
+
+ rel1 {
+ to_x: "vspacer";
+ offset: 3 3;
}
}
}
- programs {
- program {
- name: "wheel_rotate_up";
- signal: "mouse,wheel,0,-1";
- source: "*";
- action: STATE_SET "active" 0.0;
- target: "print";
- target: "print.text";
- }
+ part {
+ name: "material.text";
+ type: TEXT;
+ mouse_events: 0;
+
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
- program {
- name: "wheel_rotate_down";
- signal: "mouse,wheel,0,1";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "print";
- target: "print.text";
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to: "material";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ to: "material";
+ }
+ text {
+ text: "Material";
+ font: "oled_font_large";
+ align: 0.5 0.5;
+ }
}
- program {
- name: "button_print_click";
- signal: "mouse,down,2";
- source: "print";
- action: PLAY_TONE "tclick" 3.0;
+ description {
+ state: "active" 0.0;
+ color: 0 0 0 255;
+
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to: "material";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ to: "material";
+ }
+ text {
+ text: "Material";
+ font: "oled_font_large";
+ align: 0.5 0.5;
+ }
}
- program {
- name: "button_print_unclick";
- signal: "mouse,up,2";
- source: "print";
- action: PLAY_SAMPLE "sclick" 3.0;
+ }
+
+ part {
+ name: "hspacer";
+ type: RECT;
+ mouse_events: 0;
+
+ description {
+ state: "default" 0.0;
+ min: 128 1;
+ max: 128 1;
+ align: 0.0 0.0;
+ color: 255 255 255 255;
+
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 46;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 128 46;
+ }
}
+ }
- program {
- name: "button_material_click";
- signal: "mouse,down,2";
- source: "material";
- action: STATE_SET "active" 0.0;
- target: "material";
- target: "material.text";
+ part {
+ name: "maintanance";
+ type: RECT;
+ mouse_events: 1;
+
+ description {
+ state: "default" 0.0;
+ min: 126 20;
+ max: 126 20;
+ align: 0.0 0.0;
+ color: 0 0 0 255;
+
+ rel1 {
+ to_y: "hspacer";
+ offset: 2 2;
+ }
}
- program {
- name: "button_material_unclick";
- signal: "mouse,up,2";
- source: "material";
- action: STATE_SET "default" 0.0;
- target: "material";
- target: "material.text";
+ description {
+ state: "active" 0.0;
+ min: 126 20;
+ max: 126 20;
+ align: 0.0 0.0;
+ color: 255 255 255 255;
+
+ rel1 {
+ to_y: "hspacer";
+ offset: 2 2;
+ }
}
+ }
+
+ part {
+ name: "maintanance.text";
+ type: TEXT;
+ mouse_events: 0;
+
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
- program {
- name: "button_maintanance_click";
- signal: "mouse,down,2";
- source: "maintanance";
- action: STATE_SET "active" 0.0;
- target: "maintanance";
- target: "maintanance.text";
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to: "maintanance";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ to: "maintanance";
+ }
+ text {
+ text: "Maintanance";
+ font: "oled_font_large";
+ align: 0.5 0.5;
+ }
}
- program {
- name: "button_maintanance_unclick";
- signal: "mouse,up,2";
- source: "maintanance";
- action: STATE_SET "default" 0.0;
- target: "maintanance";
- target: "maintanance.text";
+
+ description {
+ state: "active" 0.0;
+ color: 0 0 0 255;
+
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ to: "maintanance";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 0 0;
+ to: "maintanance";
+ }
+ text {
+ text: "Maintanance";
+ font: "oled_font_large";
+ align: 0.5 0.5;
+ }
}
}
}
+
+ programs {
+ program {
+ name: "wheel_rotate_up";
+ signal: "mouse,wheel,0,-1";
+ source: "*";
+ action: STATE_SET "active" 0.0;
+ target: "print";
+ target: "print.text";
+ }
+
+ program {
+ name: "wheel_rotate_down";
+ signal: "mouse,wheel,0,1";
+ source: "*";
+ action: STATE_SET "default" 0.0;
+ target: "print";
+ target: "print.text";
+ }
+
+ program {
+ name: "button_print_click";
+ signal: "mouse,down,2";
+ source: "print";
+ action: STATE_SET "active" 0.0;
+ target: "print";
+ target: "print.text";
+ }
+ program {
+ name: "button_print_unclick";
+ signal: "mouse,up,2";
+ source: "print";
+ action: STATE_SET "default" 0.0;
+ target: "print";
+ target: "print.text";
+ }
+
+ program {
+ name: "button_material_click";
+ signal: "mouse,down,*";
+ source: "material";
+ action: STATE_SET "active" 0.0;
+ target: "material";
+ target: "material.text";
+ }
+ program {
+ name: "button_material_unclick";
+ signal: "mouse,up,*";
+ source: "material";
+ action: STATE_SET "default" 0.0;
+ target: "material";
+ target: "material.text";
+ }
+
+ program {
+ name: "button_maintanance_click";
+ signal: "mouse,down,2";
+ source: "maintanance";
+ action: STATE_SET "active" 0.0;
+ target: "maintanance";
+ target: "maintanance.text";
+ }
+ program {
+ name: "button_maintanance_unclick";
+ signal: "mouse,up,2";
+ source: "maintanance";
+ action: STATE_SET "default" 0.0;
+ target: "maintanance";
+ target: "maintanance.text";
+ }
+ }
}