summaryrefslogtreecommitdiff
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
parent6762578ace9a7a036636aeb28710c925ddf07dc1 (diff)
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 {
225 image: "tab_shad_l1.png" COMP; 225 image: "tab_shad_l1.png" COMP;
226 image: "tab_shad_r0.png" COMP; 226 image: "tab_shad_r0.png" COMP;
227 image: "tab_shad_r1.png" COMP; 227 image: "tab_shad_r1.png" COMP;
228 image: "media_busy_knob.png" COMP;
229 image: "media_busy_spinner.png" COMP;
228 } 230 }
229 set { name: "bg_shadow"; 231 set { name: "bg_shadow";
230 image { image: "bg_shadow.png" COMP; size: 0 0 200 150; } 232 image { image: "bg_shadow.png" COMP; size: 0 0 200 150; }
@@ -1618,6 +1620,76 @@ collections {
1618 target: "popmedia_glintclip"; 1620 target: "popmedia_glintclip";
1619 target: "popmedia_shine"; 1621 target: "popmedia_shine";
1620 } 1622 }
1623
1624 /* media busy */
1625 part { name: "media"; type: RECT;
1626 mouse_events: 0;
1627 description { state: "default" 0.0;
1628 color: 255 255 255 0;
1629 visible: 0;
1630 }
1631 description { state: "visible" 0.0;
1632 inherit: "default" 0.0;
1633 visible: 1;
1634 color: 255 255 255 255;
1635 }
1636 }
1637 part { name: "knob";
1638 clip_to: "media";
1639 mouse_events: 0;
1640 description { state: "default" 0.0;
1641 fixed: 1 1;
1642 image.normal: "media_busy_knob.png";
1643 min: 40 40;
1644 max: 40 40;
1645 align: 1.0 1.0;
1646 }
1647 }
1648 part { name: "knob_spinner";
1649 clip_to: "media";
1650 mouse_events: 0;
1651 description { state: "default" 0.0;
1652 fixed: 1 1;
1653 color: 51 153 255 255;
1654 rel1.to: "knob";
1655 rel2.to: "knob";
1656 image.normal: "media_busy_spinner.png";
1657 map {
1658 on: 1;
1659 smooth: 1;
1660 rotation.center: "knob";
1661 }
1662 }
1663 description { state: "spin" 0.0;
1664 inherit: "default" 0.0;
1665 visible: 1;
1666 map.rotation.z: 360;
1667 }
1668 }
1669 program {
1670 signal: "busy"; source: "terminology";
1671 action: STATE_SET "visible" 0.0;
1672 transition: DECELERATE 0.5;
1673 target: "media";
1674 }
1675 program { name: "spin1";
1676 signal: "busy"; source: "terminology";
1677 action: STATE_SET "spin" 0.0;
1678 transition: LINEAR 0.5;
1679 target: "knob_spinner";
1680 after: "spin2";
1681 }
1682 program { name: "spin2";
1683 action: STATE_SET "default" 0.0;
1684 target: "knob_spinner";
1685 after: "spin1";
1686 }
1687 program {
1688 signal: "done"; source: "terminology";
1689 action: STATE_SET "default" 0.0;
1690 transition: DECELERATE 1.5;
1691 target: "media";
1692 }
1621 } 1693 }
1622 } 1694 }
1623 1695