aboutsummaryrefslogtreecommitdiffstats
path: root/data/elementary/themes/edc/efl/pager.edc
diff options
context:
space:
mode:
authorJaeun Choi <jaeun12.choi@samsung.com>2018-04-23 18:43:11 +0900
committerJaeun Choi <jaeun12.choi@samsung.com>2018-04-23 20:33:04 +0900
commite74ebca670b3ebe4b2dc86cb7fb7a2100b86325c (patch)
tree57dc9156904303016e0ea8824e672cdbf0303f79 /data/elementary/themes/edc/efl/pager.edc
parentupdate po files (diff)
downloadefl-e74ebca670b3ebe4b2dc86cb7fb7a2100b86325c.tar.gz
efl_ui_pager: Add Efl.Ui.Pager class and related classes
Efl.Ui.Pager is a widget which contains many pages in a linear fashion and allows users to scroll through them. Users can attach Efl.Page.Transition and Efl.Page.Indicator to a pager.
Diffstat (limited to '')
-rw-r--r--data/elementary/themes/edc/efl/pager.edc66
1 files changed, 66 insertions, 0 deletions
diff --git a/data/elementary/themes/edc/efl/pager.edc b/data/elementary/themes/edc/efl/pager.edc
new file mode 100644
index 0000000000..397af0bc59
--- /dev/null
+++ b/data/elementary/themes/edc/efl/pager.edc
@@ -0,0 +1,66 @@
+group { "efl/pager";
+ parts {
+ spacer { "base";
+ scale;
+ desc { "default";
+ }
+ }
+ swallow { "elm.swallow.background";
+ scale;
+ desc { "default";
+ }
+ }
+ swallow { "page_root";
+ scale;
+ desc { "default";
+ rel1.relative: 0.0 1.0;
+ rel1.to: "indicator";
+ }
+ }
+ swallow { "indicator";
+ scale;
+ desc { "default";
+ rel2.relative: 1.0 0.0;
+ align: 0.5 0.0;
+ min: 0 50;
+ }
+ }
+ swallow { "event";
+ scale;
+ repeat_events: 1;
+ desc { "default";
+ }
+ }
+ }
+}
+
+group { "efl/pager/indicator";
+ images {
+ image: "ring_white_middle.png" COMP;
+ }
+ parts {
+ spacer { "base";
+ scale;
+ desc { "default";
+ }
+ }
+ image { "icon";
+ scale;
+ desc { "default";
+ image.normal: "ring_white_middle.png";
+ color: 0 0 0 255;
+ min: 6 6;
+ }
+ desc { "selected";
+ inherit: "default";
+ color: 255 0 0 255;
+ }
+ }
+ }
+ script {
+ public message(Msg_Type:type, id, ...) {
+ set_tween_state(PART:"icon", getfarg(2),
+ "default", 0.0, "selected", 0.0);
+ }
+ }
+}