aboutsummaryrefslogtreecommitdiffstats
path: root/data
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
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 'data')
-rw-r--r--data/elementary/themes/Makefile.am3
-rw-r--r--data/elementary/themes/default.edc1
-rw-r--r--data/elementary/themes/edc/efl/pager.edc66
3 files changed, 69 insertions, 1 deletions
diff --git a/data/elementary/themes/Makefile.am b/data/elementary/themes/Makefile.am
index fc285c696c..8ae08444af 100644
--- a/data/elementary/themes/Makefile.am
+++ b/data/elementary/themes/Makefile.am
@@ -1040,7 +1040,8 @@ elementary/themes/edc/efl/textpath.edc \
elementary/themes/edc/efl/tooltip.edc \
elementary/themes/edc/efl/video.edc \
elementary/themes/edc/efl/list.edc \
-elementary/themes/edc/efl/win.edc
+elementary/themes/edc/efl/win.edc \
+elementary/themes/edc/efl/pager.edc
elementary_fdo_actions_128_files = \
elementary/themes/fdo/actions/128/address-book-new.png \
diff --git a/data/elementary/themes/default.edc b/data/elementary/themes/default.edc
index d7c823e36d..00f8973c8b 100644
--- a/data/elementary/themes/default.edc
+++ b/data/elementary/themes/default.edc
@@ -196,4 +196,5 @@ collections {
#include "edc/efl/textpath.edc"
#include "edc/efl/win.edc"
#include "edc/efl/uiclock.edc"
+#include "edc/efl/pager.edc"
}
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);
+ }
+ }
+}