1 group { name: "e/modules/temperature/main";
2 images.image: "therm_content.png" COMP;
3 images.image: "therm_shadow.png" COMP;
4 images.image: "therm_shine.png" COMP;
8 public message(Msg_Type:type, id, ...) {
9 if ((type == MSG_FLOAT) && (id == 1)) {
12 set_drag(PART:"temp_top", 0.0, val);
17 part { name: "shadow";
18 description { state: "default" 0.0;
19 aspect: 0.5 0.5; aspect_preference: BOTH;
22 image.normal: "therm_shadow.png";
27 description { state: "default" 0.0;
30 image.normal: "therm_content.png";
33 part { name: "overlay";
34 description { state: "default" 0.0;
37 image.normal: "therm_shine.png";
40 part { name: "e.text.reading"; type: TEXT;
42 effect: SHADOW BOTTOM;
44 description { state: "default" 0.0;
45 color_class: "module_label_invisible";
46 color3: 255 255 255 255;
47 text { font: FN; size: 10;
50 text_class: "module_small";
53 description { state: "visible" 0.0;
54 inherit: "default" 0.0;
55 color_class: "module_label";
56 color3: 255 255 255 255;
59 part { name: "fade_clip"; type: RECT;
60 description { state: "default" 0.0;
61 color: 255 255 255 255;
63 description { state: "faded" 0.0;
64 color: 255 255 255 128;
67 part { name: "temp_clip"; type: RECT;
69 description { state: "default" 0.0;
70 rel1.to_y: "temp_top";
73 part { name: "temp_top"; type: SPACER;
76 dragable.confine: "temp_limit";
77 description { state: "default" 0.0;
80 part { name: "temp_limit"; type: SPACER;
81 description { state: "default" 0.0;
82 rel1.relative: 0.0 0.1;
83 rel2.relative: 1.0 0.9;
86 part { name: "over"; type: RECT;
87 description { state: "default" 0.0;
94 signal: "mouse,in"; source: "over";
95 action: STATE_SET "visible" 0.0;
96 transition: LINEAR 0.3;
97 target: "e.text.reading";
100 signal: "mouse,out"; source: "over";
101 action: STATE_SET "default" 0.0;
102 transition: LINEAR 1.0;
103 target: "e.text.reading";
106 signal: "e,state,known"; source: "e";
107 action: STATE_SET "default" 0.0;
111 signal: "e,state,unknown"; source: "e";
112 action: STATE_SET "faded" 0.0;