aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-02-15 20:32:16 +0100
committerBoris Faure <billiob@gmail.com>2015-02-21 11:40:10 +0100
commit76e9ae6481d968d489aa694e810ca4798a9dcf38 (patch)
treede3ed303c6aaabe041af3802ce62396ac24f43e1 /data
parentdo only once ecore_con_(url_)init/shutdown() (diff)
downloadterminology-76e9ae6481d968d489aa694e810ca4798a9dcf38.tar.gz
do an HTTP HEAD to get media type when poping media
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc72
1 files changed, 72 insertions, 0 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index 165e179..1d0eb46 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -225,6 +225,8 @@ collections {
image: "tab_shad_l1.png" COMP;
image: "tab_shad_r0.png" COMP;
image: "tab_shad_r1.png" COMP;
+ image: "media_busy_knob.png" COMP;
+ image: "media_busy_spinner.png" COMP;
}
set { name: "bg_shadow";
image { image: "bg_shadow.png" COMP; size: 0 0 200 150; }
@@ -1618,6 +1620,76 @@ collections {
target: "popmedia_glintclip";
target: "popmedia_shine";
}
+
+ /* media busy */
+ part { name: "media"; type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "knob";
+ clip_to: "media";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ image.normal: "media_busy_knob.png";
+ min: 40 40;
+ max: 40 40;
+ align: 1.0 1.0;
+ }
+ }
+ part { name: "knob_spinner";
+ clip_to: "media";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ color: 51 153 255 255;
+ rel1.to: "knob";
+ rel2.to: "knob";
+ image.normal: "media_busy_spinner.png";
+ map {
+ on: 1;
+ smooth: 1;
+ rotation.center: "knob";
+ }
+ }
+ description { state: "spin" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ map.rotation.z: 360;
+ }
+ }
+ program {
+ signal: "busy"; source: "terminology";
+ action: STATE_SET "visible" 0.0;
+ transition: DECELERATE 0.5;
+ target: "media";
+ }
+ program { name: "spin1";
+ signal: "busy"; source: "terminology";
+ action: STATE_SET "spin" 0.0;
+ transition: LINEAR 0.5;
+ target: "knob_spinner";
+ after: "spin2";
+ }
+ program { name: "spin2";
+ action: STATE_SET "default" 0.0;
+ target: "knob_spinner";
+ after: "spin1";
+ }
+ program {
+ signal: "done"; source: "terminology";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 1.5;
+ target: "media";
+ }
}
}