aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-01-25 09:41:24 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2019-01-25 09:49:49 +0100
commit41977fd19e2abeebb90f885af599d9ece2fb4406 (patch)
tree32a8b1aaf03a18062fc6c02228801ac7d1bb8f38 /data
parentRevert "efl_ui_pager: add tests for efl_ui_pager" (diff)
downloadefl-41977fd19e2abeebb90f885af599d9ece2fb4406.tar.gz
Revert "Revert "efl_ui_pager: add tests for efl_ui_pager""
This reverts commit a686b7d9fee99c631756eca2ce3e2dad1e296f0d. Turns out in my eagerness to un-break the build I did not check the patch queue before reverting. If I would have done this I would have seen the fix for the break alreay being submitted by Junsu Choi. This is my bad, the two reverts could have been avoid. Sorry. Note to self: give yourself a moment, and check the patch queue, before rushing out a revert. :/
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am6
-rw-r--r--data/elementary/objects/Makefile.am1
-rw-r--r--data/elementary/objects/meson.build1
-rw-r--r--data/elementary/objects/test_pager.edc96
4 files changed, 104 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index a326711dc0..b1ba8de91a 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -225,6 +225,7 @@ elementary/objects/cursors.edj \
elementary/objects/font_preview.edj \
elementary/objects/postit_ent.edj \
elementary/objects/multibuttonentry.edj \
+elementary/objects/test_pager.edj \
elementary/objects/test_prefs.edj \
elementary/objects/test_prefs.epb \
elementary/objects/test_focus_style.edj \
@@ -276,6 +277,11 @@ elementary/objects/multibuttonentry.edj: elementary/objects/multibuttonentry.edc
$(MKDIR_P) elementary/objects/; \
$(EDJE_CC) $(EDJE_CC_FLAGS) $< $@
+elementary/objects/test_pager.edj: elementary/objects/test_pager.edc
+ $(AM_V_EDJ) \
+ $(MKDIR_P) elementary/objects/; \
+ $(EDJE_CC) $(EDJE_CC_FLAGS) $< $@
+
elementary/objects/test_prefs.edj: elementary/objects/test_prefs.edc
$(AM_V_EDJ) \
$(MKDIR_P) elementary/objects/; \
diff --git a/data/elementary/objects/Makefile.am b/data/elementary/objects/Makefile.am
index ac8391f79a..c1325b8865 100644
--- a/data/elementary/objects/Makefile.am
+++ b/data/elementary/objects/Makefile.am
@@ -4,6 +4,7 @@ EXTRA_DIST += \
elementary/objects/test.edc \
elementary/objects/test_external.edc \
elementary/objects/test_masking.edc \
+elementary/objects/test_pager.edc \
elementary/objects/test_prefs.edc \
elementary/objects/test_prefs.epc \
elementary/objects/test_tab_pager.edc \
diff --git a/data/elementary/objects/meson.build b/data/elementary/objects/meson.build
index 18352eb409..6d9ead2463 100644
--- a/data/elementary/objects/meson.build
+++ b/data/elementary/objects/meson.build
@@ -5,6 +5,7 @@ edc_files = [
'test_masking.edc',
'test_tab_pager.edc',
'test_tooltip.edc',
+ 'test_pager.edc',
'test_prefs.edc',
'cursors.edc',
'font_preview.edc',
diff --git a/data/elementary/objects/test_pager.edc b/data/elementary/objects/test_pager.edc
new file mode 100644
index 0000000000..44f31c6648
--- /dev/null
+++ b/data/elementary/objects/test_pager.edc
@@ -0,0 +1,96 @@
+collections {
+ group {
+ name: "pager";
+ parts {
+ rect { "bg";
+ desc { "default";
+ color: 0 0 0 0;
+ }
+ }
+ swallow { "pager";
+ desc { "default";
+ }
+ }
+ swallow { "prev_btn";
+ desc { "default";
+ rel1.relative: 0.0 0.5;
+ rel1.offset: 10 0;
+ rel2.relative: 0.0 0.5;
+ rel2.offset: 10 0;
+ align: 0.0 0.5;
+ min: 30 30;
+ }
+ }
+ swallow { "next_btn";
+ desc { "default";
+ rel1.relative: 1.0 0.5;
+ rel1.offset: -10 0;
+ rel2.relative: 1.0 0.5;
+ rel2.offset: -10 0;
+ align: 1.0 0.5;
+ min: 30 30;
+ }
+ }
+ }
+ }
+ group {
+ name: "page";
+ parts {
+ rect { "bg";
+ desc { "default";
+ }
+ }
+ text { "tl";
+ desc { "default";
+ rel1.relative: 0 0;
+ rel2.relative: 0 0;
+ align: 0 0;
+ color: 0 0 0 255;
+ text { size: 10;
+ min: 1 1;
+ }
+ }
+ }
+ text { "tr";
+ desc { "default";
+ rel1.relative: 1 0;
+ rel2.relative: 1 0;
+ align: 1 0;
+ color: 0 0 0 255;
+ text { size: 10;
+ min: 1 1;
+ }
+ }
+ }
+ text { "bl";
+ desc { "default";
+ rel1.relative: 0 1;
+ rel2.relative: 0 1;
+ align: 0 1;
+ color: 0 0 0 255;
+ text { size: 10;
+ min: 1 1;
+ }
+ }
+ }
+ text { "br";
+ desc { "default";
+ rel1.relative: 1 1;
+ rel2.relative: 1 1;
+ align: 1 1;
+ color: 0 0 0 255;
+ text { size: 10;
+ min: 1 1;
+ }
+ }
+ }
+ text { "text";
+ desc { "default";
+ color: 0 0 0 255;
+ text { size: 20;
+ }
+ }
+ }
+ }
+ }
+}