summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2018-10-18 17:17:39 +0900
committerWonki Kim <wonki_.kim@samsung.com>2018-10-24 17:00:19 +0900
commit27f50c8724e14ce8a662b9a3f0f92b5ad5e3c665 (patch)
tree91022695121ac8c85705acc1dad8b36be58db1bd
parent1dcd97fa71d76b9042bb6503eaafa62af5b2eb3e (diff)
downloadefl-theme-tizen-mobile-submit/tizen/20181109.041614.tar.gz
efl-theme-tizen-mobile-submit/tizen/20181109.041614.tar.bz2
efl-theme-tizen-mobile-submit/tizen/20181109.041614.zip
there was a theme as a fallback before. however it has been excluded from image. so that this patch copies them to support fallback. Change-Id: I0f6d2bea24eb91d116651fadd1ddbf3af002ddbc
-rw-r--r--mobile/HD-inc.edc56
-rw-r--r--mobile/HD/images/default/00_scroll_bar.pngbin0 -> 3148 bytes
-rw-r--r--mobile/HD/images/default/00_splite_handler_bg_h.pngbin0 -> 294 bytes
-rw-r--r--mobile/HD/images/default/00_splite_handler_bg_press.pngbin0 -> 313 bytes
-rw-r--r--mobile/HD/images/default/00_splite_handler_bg_v.pngbin0 -> 302 bytes
-rw-r--r--mobile/HD/images/default/00_splite_handler_h.pngbin0 -> 307 bytes
-rw-r--r--mobile/HD/images/default/00_splite_handler_v.pngbin0 -> 300 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_01.pngbin0 -> 1308 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_02.pngbin0 -> 1275 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_03.pngbin0 -> 1241 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_04.pngbin0 -> 1350 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_05.pngbin0 -> 1344 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_06.pngbin0 -> 1316 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_07.pngbin0 -> 1301 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_08.pngbin0 -> 1407 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_09.pngbin0 -> 1399 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_10.pngbin0 -> 1335 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_11.pngbin0 -> 1287 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_12.pngbin0 -> 1328 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_13.pngbin0 -> 1349 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_14.pngbin0 -> 1382 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_15.pngbin0 -> 1380 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_16.pngbin0 -> 1306 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_17.pngbin0 -> 1285 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_18.pngbin0 -> 1261 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_19.pngbin0 -> 1347 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_20.pngbin0 -> 1336 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_21.pngbin0 -> 1310 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_22.pngbin0 -> 1282 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_23.pngbin0 -> 1401 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_24.pngbin0 -> 1386 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_25.pngbin0 -> 1326 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_26.pngbin0 -> 1297 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_27.pngbin0 -> 1341 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_28.pngbin0 -> 1353 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_29.pngbin0 -> 1351 bytes
-rw-r--r--mobile/HD/images/default/00_winset_list_process_30.pngbin0 -> 1356 bytes
-rw-r--r--mobile/HD/images/default/bt_sm_hilight.pngbin0 -> 422 bytes
-rw-r--r--mobile/HD/images/default/bt_sm_shine.pngbin0 -> 404 bytes
-rw-r--r--mobile/HD/images/default/sb_runnerh.pngbin0 -> 294 bytes
-rw-r--r--mobile/HD/images/default/sb_runnerv.pngbin0 -> 302 bytes
-rw-r--r--mobile/Makefile.am1
-rw-r--r--mobile/efl-theme-tizen-mobile.edc4
-rw-r--r--mobile/widgets/panes.edc855
-rw-r--r--mobile/widgets/photocam.edc650
45 files changed, 1566 insertions, 0 deletions
diff --git a/mobile/HD-inc.edc b/mobile/HD-inc.edc
index 7a1264a2..3cc58cf1 100644
--- a/mobile/HD-inc.edc
+++ b/mobile/HD-inc.edc
@@ -913,6 +913,62 @@
#define HOVER_HOVERSEL_VERTICAL_PADDING_SIZE_DEFAULT 20
+//****************************************************************************//
+// Photocam
+//****************************************************************************//
+
+#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_MATCHLIST_SCROLLBAR_BG_IMAGE_BORDER 13 13 10 15
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_PADDING_SIZE 6
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_PADDING_SIZE 16
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER1 6 6 6 0
+#define SCROLLER_MATCHLIST_SCROLLBAR_VBAR_OVER2 6 6 6 0
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER1 6 6 6 0
+#define SCROLLER_MATCHLIST_SCROLLBAR_HBAR_OVER2 6 6 6 0
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE "00_scroll_bar.png"
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 6
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE 16
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC 16 238
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC 16 99999
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC 180 16
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MAX_SIZE_INC 99999 16
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_RUNNER_BORDER 0 0 4 4
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_RUNNER_BORDER 4 4 0 0
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE_BORDER 5 10 5 10
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER1 6 6 6 0
+#define SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER2 6 6 6 0
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER1 6 6 6 0
+#define SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER2 6 6 6 0
+#define SCROLLER_HANDLER_SCROLLBAR_PADDING_INC 4
+#define SCROLLER_HANDLER_SCROLLBAR_VBAR_BOTTOM_BORDER 10 10 0 10
+#define SCROLLER_HANDLER_SCROLLBAR_VBAR_RIGHT_BORDER 0 10 10 10
+
+//****************************************************************************//
+// Panes
+//****************************************************************************//
+
+#define PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 60
+#define PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 25
+#define PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 22
+#define PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 26
+#define PANES_STYLE_DEFAULT_FIXED_SIZE_INC 52
+#define PANES_DEFAULT_FIXED_SEPERATOR_NORMAL_COLOR_INC 118 118 118 255
+
#define STYLE_TAGS \
tag: "br" "\n";\
tag: "ps" "ps";\
diff --git a/mobile/HD/images/default/00_scroll_bar.png b/mobile/HD/images/default/00_scroll_bar.png
new file mode 100644
index 00000000..9930bbf2
--- /dev/null
+++ b/mobile/HD/images/default/00_scroll_bar.png
Binary files differ
diff --git a/mobile/HD/images/default/00_splite_handler_bg_h.png b/mobile/HD/images/default/00_splite_handler_bg_h.png
new file mode 100644
index 00000000..9439c8a7
--- /dev/null
+++ b/mobile/HD/images/default/00_splite_handler_bg_h.png
Binary files differ
diff --git a/mobile/HD/images/default/00_splite_handler_bg_press.png b/mobile/HD/images/default/00_splite_handler_bg_press.png
new file mode 100644
index 00000000..80e98c71
--- /dev/null
+++ b/mobile/HD/images/default/00_splite_handler_bg_press.png
Binary files differ
diff --git a/mobile/HD/images/default/00_splite_handler_bg_v.png b/mobile/HD/images/default/00_splite_handler_bg_v.png
new file mode 100644
index 00000000..42fa1e43
--- /dev/null
+++ b/mobile/HD/images/default/00_splite_handler_bg_v.png
Binary files differ
diff --git a/mobile/HD/images/default/00_splite_handler_h.png b/mobile/HD/images/default/00_splite_handler_h.png
new file mode 100644
index 00000000..2e478e52
--- /dev/null
+++ b/mobile/HD/images/default/00_splite_handler_h.png
Binary files differ
diff --git a/mobile/HD/images/default/00_splite_handler_v.png b/mobile/HD/images/default/00_splite_handler_v.png
new file mode 100644
index 00000000..300b0203
--- /dev/null
+++ b/mobile/HD/images/default/00_splite_handler_v.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_01.png b/mobile/HD/images/default/00_winset_list_process_01.png
new file mode 100644
index 00000000..d1713319
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_01.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_02.png b/mobile/HD/images/default/00_winset_list_process_02.png
new file mode 100644
index 00000000..1e73f3e9
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_02.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_03.png b/mobile/HD/images/default/00_winset_list_process_03.png
new file mode 100644
index 00000000..5de43fa6
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_03.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_04.png b/mobile/HD/images/default/00_winset_list_process_04.png
new file mode 100644
index 00000000..d39b9d9f
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_04.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_05.png b/mobile/HD/images/default/00_winset_list_process_05.png
new file mode 100644
index 00000000..1564c45c
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_05.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_06.png b/mobile/HD/images/default/00_winset_list_process_06.png
new file mode 100644
index 00000000..d609b59d
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_06.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_07.png b/mobile/HD/images/default/00_winset_list_process_07.png
new file mode 100644
index 00000000..807afdb4
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_07.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_08.png b/mobile/HD/images/default/00_winset_list_process_08.png
new file mode 100644
index 00000000..2b7df3a3
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_08.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_09.png b/mobile/HD/images/default/00_winset_list_process_09.png
new file mode 100644
index 00000000..752917f8
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_09.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_10.png b/mobile/HD/images/default/00_winset_list_process_10.png
new file mode 100644
index 00000000..f6a8016f
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_10.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_11.png b/mobile/HD/images/default/00_winset_list_process_11.png
new file mode 100644
index 00000000..11dd5b2e
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_11.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_12.png b/mobile/HD/images/default/00_winset_list_process_12.png
new file mode 100644
index 00000000..55b875fa
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_12.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_13.png b/mobile/HD/images/default/00_winset_list_process_13.png
new file mode 100644
index 00000000..5eadcb2f
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_13.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_14.png b/mobile/HD/images/default/00_winset_list_process_14.png
new file mode 100644
index 00000000..7b695063
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_14.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_15.png b/mobile/HD/images/default/00_winset_list_process_15.png
new file mode 100644
index 00000000..a90e8e26
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_15.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_16.png b/mobile/HD/images/default/00_winset_list_process_16.png
new file mode 100644
index 00000000..23a54441
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_16.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_17.png b/mobile/HD/images/default/00_winset_list_process_17.png
new file mode 100644
index 00000000..75950aba
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_17.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_18.png b/mobile/HD/images/default/00_winset_list_process_18.png
new file mode 100644
index 00000000..9c84f038
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_18.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_19.png b/mobile/HD/images/default/00_winset_list_process_19.png
new file mode 100644
index 00000000..965a6cee
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_19.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_20.png b/mobile/HD/images/default/00_winset_list_process_20.png
new file mode 100644
index 00000000..74d22d0b
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_20.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_21.png b/mobile/HD/images/default/00_winset_list_process_21.png
new file mode 100644
index 00000000..05baa29b
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_21.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_22.png b/mobile/HD/images/default/00_winset_list_process_22.png
new file mode 100644
index 00000000..8d103023
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_22.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_23.png b/mobile/HD/images/default/00_winset_list_process_23.png
new file mode 100644
index 00000000..cb25eae1
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_23.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_24.png b/mobile/HD/images/default/00_winset_list_process_24.png
new file mode 100644
index 00000000..436c446e
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_24.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_25.png b/mobile/HD/images/default/00_winset_list_process_25.png
new file mode 100644
index 00000000..72628159
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_25.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_26.png b/mobile/HD/images/default/00_winset_list_process_26.png
new file mode 100644
index 00000000..842bf64c
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_26.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_27.png b/mobile/HD/images/default/00_winset_list_process_27.png
new file mode 100644
index 00000000..f35f0f51
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_27.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_28.png b/mobile/HD/images/default/00_winset_list_process_28.png
new file mode 100644
index 00000000..3a98c96e
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_28.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_29.png b/mobile/HD/images/default/00_winset_list_process_29.png
new file mode 100644
index 00000000..bcfc7005
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_29.png
Binary files differ
diff --git a/mobile/HD/images/default/00_winset_list_process_30.png b/mobile/HD/images/default/00_winset_list_process_30.png
new file mode 100644
index 00000000..4d1552b9
--- /dev/null
+++ b/mobile/HD/images/default/00_winset_list_process_30.png
Binary files differ
diff --git a/mobile/HD/images/default/bt_sm_hilight.png b/mobile/HD/images/default/bt_sm_hilight.png
new file mode 100644
index 00000000..1f3069af
--- /dev/null
+++ b/mobile/HD/images/default/bt_sm_hilight.png
Binary files differ
diff --git a/mobile/HD/images/default/bt_sm_shine.png b/mobile/HD/images/default/bt_sm_shine.png
new file mode 100644
index 00000000..8cf765ad
--- /dev/null
+++ b/mobile/HD/images/default/bt_sm_shine.png
Binary files differ
diff --git a/mobile/HD/images/default/sb_runnerh.png b/mobile/HD/images/default/sb_runnerh.png
new file mode 100644
index 00000000..0c7e716e
--- /dev/null
+++ b/mobile/HD/images/default/sb_runnerh.png
Binary files differ
diff --git a/mobile/HD/images/default/sb_runnerv.png b/mobile/HD/images/default/sb_runnerv.png
new file mode 100644
index 00000000..b9b3bc1c
--- /dev/null
+++ b/mobile/HD/images/default/sb_runnerv.png
Binary files differ
diff --git a/mobile/Makefile.am b/mobile/Makefile.am
index 7e9f9c56..eca98b28 100644
--- a/mobile/Makefile.am
+++ b/mobile/Makefile.am
@@ -20,6 +20,7 @@ all:
-id ./HD/images/Copy_Paste\
-id ./HD/images/Emoticon\
-id ./HD/images/Old\
+ -id ./HD/images/default\
-sd ./HD/sounds -fd ../objects \
$(SRC).edc $(SRC).edj;
edje_cc $(EDJE_FLAGS) $(EDJE_FLAGS_$(V)) \
diff --git a/mobile/efl-theme-tizen-mobile.edc b/mobile/efl-theme-tizen-mobile.edc
index 3375317a..0c4ecd5a 100644
--- a/mobile/efl-theme-tizen-mobile.edc
+++ b/mobile/efl-theme-tizen-mobile.edc
@@ -119,6 +119,10 @@ collections {
#include "widgets/floatingbutton.edc"
#include "widgets/border.edc"
+//default
+#include "widgets/photocam.edc"
+#include "widgets/panes.edc"
+
color_classes {
color_class {
name: "transparent";
diff --git a/mobile/widgets/panes.edc b/mobile/widgets/panes.edc
new file mode 100644
index 00000000..4301e1a2
--- /dev/null
+++ b/mobile/widgets/panes.edc
@@ -0,0 +1,855 @@
+/*
+ * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * PROPRIETARY/CONFIDENTIAL
+ *
+ * This software is the confidential and proprietary information of SAMSUNG
+ * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
+ * software is owned by Samsung and you shall not disclose such Confidential
+ * Information and shall use it only in accordance with the terms of the license
+ * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
+ * representations or warranties about the suitability of the software, either
+ * express or implied, including but not limited to the implied warranties of
+ * merchantability, fitness for a particular purpose, or non-infringement.
+ * SAMSUNG shall not be liable for any damages suffered by licensee arising out
+ * of or releated to this software.
+ *
+ */
+
+ group {
+ name: "elm/panes/vertical/default";
+ images {
+ image: "00_splite_handler_bg_v.png" COMP;
+ image: "00_splite_handler_bg_press.png" COMP;
+ image: "00_splite_handler_v.png" COMP;
+ }
+ script {
+ public state_pair = 1; //0:both contents are not set, 1:both contents are set
+ }
+ parts
+ {
+ part
+ {
+ name: "whole";
+ type: RECT;
+ description
+ {
+ state: "default" 0.0;
+ visible: 0;
+ rel1.to_x: "pad_left";
+ rel2.to_x: "pad_right";
+ }
+ }
+ part {
+ name: "pad_left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel2.relative:0.0 1.0;
+ min: PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part {
+ name: "pad_right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ min: PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ //2 constraint
+ part {
+ name: "right_constraint";
+ type: SPACER;
+ dragable {
+ confine: "whole";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description {
+ state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part {
+ name: "left_constraint";
+ type: SPACER;
+ dragable {
+ confine: "whole";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ description {
+ state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part {
+ name: "sub_whole";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel1.to_x: "left_constraint";
+ rel2.relative: 0.0 1.0;
+ rel2.to_x: "right_constraint";
+ }
+ }
+ //2 contents
+ part
+ {
+ name: "whole_left";
+ type: RECT;
+ mouse_events: 0;
+ description
+ {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "pad_left";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to_x: "bar_bg";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part
+ {
+ name: "elm.swallow.left";
+ type: SWALLOW;
+ clip_to: "whole_left";
+ description
+ {
+ state: "default" 0.0;
+ rel1.to: "whole_left";
+ rel2.to: "whole_left";
+ }
+ }
+ part
+ {
+ name: "whole_right";
+ type: RECT;
+ mouse_events: 0;
+ description
+ {
+ state: "default" 0.0;
+ rel1 {
+ to_x: "bar_bg";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to_x: "pad_right";
+ relative: 0.0 1.0;
+ }
+ }
+ }
+ part
+ {
+ name: "elm.swallow.right";
+ type: SWALLOW;
+ clip_to: "whole_right";
+ description
+ {
+ state: "default" 0.0;
+ rel1.to: "whole_right";
+ rel2.to: "whole_right";
+ }
+ }
+ //BAR
+ part { name: "elm.bar";
+ type: SPACER;
+ dragable {
+ confine: "sub_whole";
+ x: 1 1 1;
+ y: 0 0 0;
+ }
+ scale: 1;
+ description { state: "default" 0.0;
+ min: PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC 0;
+ fixed: 1 0;
+ rel1.relative: 0.5 0.0;
+ rel2.relative: 0.5 1.0;
+ }
+ description { state: "default" 0.1;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ min: PANES_STYLE_DEFAULT_FIXED_SIZE_INC 0;
+ }
+ description { state: "disabled" 0.1;
+ inherit: "default" 0.1;
+ }
+ }
+ part { name: "pad_bar_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC 0;
+ align: 0.0 0.5;
+ rel1.to_x: "elm.bar";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.bar";
+ }
+ fixed: 1 0;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "pad_bar_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC 0;
+ align: 1.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "elm.bar";
+ }
+ rel2.to_x: "elm.bar";
+ fixed: 1 0;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "bar_bg";
+ type: IMAGE;
+ dragable.events: "elm.bar";
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "pad_bar_left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "pad_bar_right";
+ }
+ fixed: 1 0;
+ image.normal: "00_splite_handler_bg_v.png";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_splite_handler_bg_press.png";
+ }
+ }
+ part { name:"bar_handler";
+ mouse_events: 0;
+ description { state:"default" 0.0;
+ rel1 {
+ to_x: "bar_bg";
+ relative: 0.0 0.5;
+ }
+ rel2 {
+ to_x: "bar_bg";
+ relative: 1.0 0.5;
+ }
+ fixed: 0 1;
+ min: 0 PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC;
+ image.normal: "00_splite_handler_v.png";
+ }
+ description { state:"clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to_x: "bar_bg";
+ rel2.to_x: "bar_bg";
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to_x: "bar_bg";
+ rel2.to_x: "bar_bg";
+ color: 0 0 0 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name:"bar_disabled";
+ type: RECT;
+ description { state:"default" 0.0;
+ rel1.to_x: "bar_bg";
+ rel2.to_x: "bar_bg";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "panes_pair";
+ signal: "elm,panes,pair";
+ source: "";
+ script {
+ new st[31];
+ new Float:vl;
+ set_int(state_pair, 1);
+ get_state(PART:"elm.bar", st, 30, vl);
+ set_state(PART:"elm.bar", st, 0.0);
+ set_state(PART:"pad_left", "default", 0.0);
+ set_state(PART:"pad_right", "default", 0.0);
+ set_state(PART:"pad_bar_left", "default", 0.0);
+ set_state(PART:"pad_bar_right", "default", 0.0);
+ }
+ }
+ program {
+ name: "panes_unpair";
+ signal: "elm,panes,unpair";
+ source: "";
+ script {
+ new st[31];
+ new Float:vl;
+ set_int(state_pair, 0);
+ get_state(PART:"elm.bar", st, 30, vl);
+ set_state(PART:"elm.bar", st, 0.1);
+ set_state(PART:"pad_left", "hidden", 0.0);
+ set_state(PART:"pad_right", "hidden", 0.0);
+ set_state(PART:"pad_bar_left", "hidden", 0.0);
+ set_state(PART:"pad_bar_right", "hidden", 0.0);
+ }
+ }
+ program {
+ name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program {
+ name: "button_click_anim";
+ script {
+ set_state(PART:"bar_bg", "clicked", 0.0);
+ }
+ }
+ program {
+ name: "button_unclick";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ after: "button_unclick_anim";
+ }
+ program {
+ name: "button_unclick_anim";
+ script {
+ set_state(PART:"bar_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "button_click2";
+ signal: "mouse,down,1";
+ source: "over3";
+ action: STATE_SET "clicked" 0.0;
+ target: "over3";
+ }
+ program {
+ name: "button_unclick2";
+ signal: "mouse,up,1";
+ source: "over3";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "over3";
+ }
+ program {
+ name: "button_unclick3";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "button_down_double";
+ signal: "mouse,down,1,double";
+ source: "over3";
+ action: SIGNAL_EMIT "elm,action,click,double" "";
+ }
+ //fix the pane
+ program {
+ name: "panes_fixed";
+ signal: "elm.panes.fixed";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.bar";
+ target: "bar_disabled";
+ }
+ //allow the movement by interaction
+ program {
+ name: "panes_unfixed";
+ signal: "elm.panes.unfixed";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.bar";
+ target: "bar_disabled";
+ }
+ }
+ }
+
+ group {
+ name: "elm/panes/horizontal/default";
+ images {
+ image: "00_splite_handler_bg_h.png" COMP;
+ image: "00_splite_handler_bg_press.png" COMP;
+ image: "00_splite_handler_h.png" COMP;
+ }
+ script {
+ public state_pair = 1; //0:both contents are not set, 1:both contents are set
+ }
+ parts
+ {
+ part
+ {
+ name: "whole";
+ type: RECT;
+ description
+ {
+ state: "default" 0.0;
+ visible: 0;
+ rel1.to_y: "pad_left";
+ rel2.to_y: "pad_right";
+ }
+ }
+ part {
+ name: "pad_left";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel2.relative:1.0 0.0;
+ min: 0 PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part {
+ name: "pad_right";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ min: 0 PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ //2 constraint
+ part {
+ name: "right_constraint";
+ type: SPACER;
+ dragable {
+ confine: "whole";
+ x: 0 0 0;
+ y: 1 1 1;
+ }
+ description {
+ state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part {
+ name: "left_constraint";
+ type: SPACER;
+ dragable {
+ confine: "whole";
+ x: 0 0 0;
+ y: 1 1 1;
+ }
+ description {
+ state: "default" 0.0;
+ max: 0 0;
+ }
+ }
+ part {
+ name: "sub_whole";
+ type: SPACER;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_y: "left_constraint";
+ rel2.relative: 1.0 0.0;
+ rel2.to_y: "right_constraint";
+ }
+ }
+ //2 contents
+ part
+ {
+ name: "whole_left";
+ type: RECT;
+ mouse_events: 0;
+ description
+ {
+ state: "default" 0.0;
+ rel1 {
+ to_y: "pad_left";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to_y: "bar_bg";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part
+ {
+ name: "elm.swallow.left";
+ type: SWALLOW;
+ clip_to: "whole_left";
+ description
+ {
+ state: "default" 0.0;
+ rel1.to: "whole_left";
+ rel2.to: "whole_left";
+ }
+ }
+ part
+ {
+ name: "whole_right";
+ type: RECT;
+ mouse_events: 0;
+ description
+ {
+ state: "default" 0.0;
+ rel1 {
+ to_y: "bar_bg";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to_y: "pad_right";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ part
+ {
+ name: "elm.swallow.right";
+ type: SWALLOW;
+ clip_to: "whole_right";
+ description
+ {
+ state: "default" 0.0;
+ rel1.to: "whole_right";
+ rel2.to: "whole_right";
+ }
+ }
+ //BAR
+ part { name: "elm.bar";
+ type: SPACER;
+ dragable {
+ confine: "sub_whole";
+ x: 0 0 0;
+ y: 1 1 1;
+ }
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 PANES_STYLE_DEFAULT_MOVABLE_SIZE_INC;
+ fixed: 0 1;
+ rel1.relative: 0.0 0.5;
+ rel2.relative: 1.0 0.5;
+ }
+ description { state: "default" 0.1;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ min: 0 PANES_STYLE_DEFAULT_FIXED_SIZE_INC;
+ }
+ description { state: "disabled" 0.1;
+ inherit: "default" 0.1;
+ }
+ }
+ part { name: "pad_bar_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 PANES_STYLE_DEFAULT_PADDING_LEFT_SIZE_INC;
+ align: 0.5 0.0;
+ rel1.to_y: "elm.bar";
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.bar";
+ }
+ fixed: 0 1;
+ visible: 0;
+ }
+ description {
+ state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "pad_bar_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 PANES_STYLE_DEFAULT_PADDING_RIGHT_SIZE_INC;
+ align: 0.5 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "elm.bar";
+ }
+ rel2.to_y: "elm.bar";
+ fixed: 0 1;
+ visible: 0;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ }
+ part { name: "bar_bg";
+ type: IMAGE;
+ dragable.events: "elm.bar";
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: "pad_bar_left";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "pad_bar_right";
+ }
+ fixed: 0 1;
+ image.normal: "00_splite_handler_bg_h.png";
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_splite_handler_bg_press.png";
+ }
+ }
+ part { name:"bar_handler";
+ mouse_events: 0;
+ description { state:"default" 0.0;
+ rel1 {
+ to_y: "bar_bg";
+ relative: 0.5 0.0;
+ }
+ rel2 {
+ to_y: "bar_bg";
+ relative: 0.5 1.0;
+ }
+ fixed: 1 0;
+ min: PANES_STYLE_DEFAULT_MIDDLE_SIZE_INC 0;
+ image.normal: "00_splite_handler_h.png";
+ }
+ description { state:"clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to_y: "bar_bg";
+ rel2.to_y: "bar_bg";
+ color: 0 0 0 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ mouse_events: 1;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to_y: "bar_bg";
+ rel2.to_y: "bar_bg";
+ color: 0 0 0 0;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name:"bar_disabled";
+ type: RECT;
+ description { state:"default" 0.0;
+ rel1.to_y: "bar_bg";
+ rel2.to_y: "bar_bg";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "panes_pair";
+ signal: "elm,panes,pair";
+ source: "";
+ script {
+ new st[31];
+ new Float:vl;
+ set_int(state_pair, 1);
+ get_state(PART:"elm.bar", st, 30, vl);
+ set_state(PART:"elm.bar", st, 0.0);
+ set_state(PART:"pad_left", "default", 0.0);
+ set_state(PART:"pad_right", "default", 0.0);
+ set_state(PART:"pad_bar_left", "default", 0.0);
+ set_state(PART:"pad_bar_right", "default", 0.0);
+ }
+ }
+ program {
+ name: "panes_unpair";
+ signal: "elm,panes,unpair";
+ source: "";
+ script {
+ new st[31];
+ new Float:vl;
+ set_int(state_pair, 0);
+ get_state(PART:"elm.bar", st, 30, vl);
+ set_state(PART:"elm.bar", st, 0.1);
+ set_state(PART:"pad_left", "hidden", 0.0);
+ set_state(PART:"pad_right", "hidden", 0.0);
+ set_state(PART:"pad_bar_left", "hidden", 0.0);
+ set_state(PART:"pad_bar_right", "hidden", 0.0);
+ }
+ }
+ program {
+ name: "button_click";
+ signal: "mouse,down,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,press" "";
+ after: "button_click_anim";
+ }
+ program {
+ name: "button_click_anim";
+ script {
+ set_state(PART:"bar_bg", "clicked", 0.0);
+ }
+ }
+ program {
+ name: "button_unclick";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,unpress" "";
+ after: "button_unclick_anim";
+ }
+ program {
+ name: "button_unclick_anim";
+ script {
+ set_state(PART:"bar_bg", "default", 0.0);
+ }
+ }
+ program {
+ name: "button_click2";
+ signal: "mouse,down,1";
+ source: "over3";
+ action: STATE_SET "clicked" 0.0;
+ target: "over3";
+ }
+ program {
+ name: "button_unclick2";
+ signal: "mouse,up,1";
+ source: "over3";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "over3";
+ }
+ program {
+ name: "button_unclick3";
+ signal: "mouse,up,1";
+ source: "over2";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "button_down_double";
+ signal: "mouse,down,1,double";
+ source: "over3";
+ action: SIGNAL_EMIT "elm,action,click,double" "";
+ }
+ //fix the pane
+ program {
+ name: "panes_fixed";
+ signal: "elm.panes.fixed";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.bar";
+ target: "bar_disabled";
+ }
+ //allow the movement by interaction
+ program {
+ name: "panes_unfixed";
+ signal: "elm.panes.unfixed";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.bar";
+ target: "bar_disabled";
+ }
+ }
+ }
diff --git a/mobile/widgets/photocam.edc b/mobile/widgets/photocam.edc
new file mode 100644
index 00000000..f53dea88
--- /dev/null
+++ b/mobile/widgets/photocam.edc
@@ -0,0 +1,650 @@
+/*
+ * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * PROPRIETARY/CONFIDENTIAL
+ *
+ * This software is the confidential and proprietary information of SAMSUNG
+ * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
+ * software is owned by Samsung and you shall not disclose such Confidential
+ * Information and shall use it only in accordance with the terms of the license
+ * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
+ * representations or warranties about the suitability of the software, either
+ * express or implied, including but not limited to the implied warranties of
+ * merchantability, fitness for a particular purpose, or non-infringement.
+ * SAMSUNG shall not be liable for any damages suffered by licensee arising out
+ * of or releated to this software.
+ *
+ */
+
+group { name: "elm/photocam/base/default";
+ script {
+ public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
+ public timer0(val) {
+ new v;
+ v = get_int(sbvis_v);
+ if (v) {
+ v = get_int(sbalways_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ v = get_int(sbvis_h);
+ if (v) {
+ v = get_int(sbalways_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ set_int(sbvis_timer, 0);
+ return 0;
+ }
+ }
+ images {
+ image: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE COMP;
+ image: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE COMP;
+ image: "bt_sm_shine.png" COMP;
+ image: "bt_sm_hilight.png" COMP;
+ image: "sb_runnerh.png" COMP;
+ image: "sb_runnerv.png" COMP;
+ image: "00_winset_list_process_01.png" COMP;
+ image: "00_winset_list_process_02.png" COMP;
+ image: "00_winset_list_process_03.png" COMP;
+ image: "00_winset_list_process_04.png" COMP;
+ image: "00_winset_list_process_05.png" COMP;
+ image: "00_winset_list_process_06.png" COMP;
+ image: "00_winset_list_process_07.png" COMP;
+ image: "00_winset_list_process_08.png" COMP;
+ image: "00_winset_list_process_09.png" COMP;
+ image: "00_winset_list_process_10.png" COMP;
+ image: "00_winset_list_process_11.png" COMP;
+ image: "00_winset_list_process_12.png" COMP;
+ image: "00_winset_list_process_13.png" COMP;
+ image: "00_winset_list_process_14.png" COMP;
+ image: "00_winset_list_process_15.png" COMP;
+ image: "00_winset_list_process_16.png" COMP;
+ image: "00_winset_list_process_17.png" COMP;
+ image: "00_winset_list_process_18.png" COMP;
+ image: "00_winset_list_process_19.png" COMP;
+ image: "00_winset_list_process_20.png" COMP;
+ image: "00_winset_list_process_21.png" COMP;
+ image: "00_winset_list_process_22.png" COMP;
+ image: "00_winset_list_process_23.png" COMP;
+ image: "00_winset_list_process_24.png" COMP;
+ image: "00_winset_list_process_25.png" COMP;
+ image: "00_winset_list_process_26.png" COMP;
+ image: "00_winset_list_process_27.png" COMP;
+ image: "00_winset_list_process_28.png" COMP;
+ image: "00_winset_list_process_29.png" COMP;
+ image: "00_winset_list_process_30.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ }
+ part { name: "elm.swallow.content";
+ clip_to: "clipper";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ }
+ }
+ part { name: "conf_over";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: -1 -1;
+ visible: 0;
+ }
+ }
+ part { name: "busy_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "active" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "busy";
+ clip_to: "busy_clip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 32 32;
+ aspect: 1.0 1.0;
+ align: 1.0 1.0;
+ aspect_preference: BOTH;
+ rel1 {
+ relative: 0.9 0.9;
+ offset: -9 -9;
+ }
+ rel2 {
+ relative: 0.9 0.9;
+ offset: -9 -9;
+ }
+ image {
+ normal: "00_winset_list_process_30.png";
+ tween: "00_winset_list_process_01.png";
+ tween: "00_winset_list_process_02.png";
+ tween: "00_winset_list_process_03.png";
+ tween: "00_winset_list_process_04.png";
+ tween: "00_winset_list_process_05.png";
+ tween: "00_winset_list_process_06.png";
+ tween: "00_winset_list_process_07.png";
+ tween: "00_winset_list_process_08.png";
+ tween: "00_winset_list_process_09.png";
+ tween: "00_winset_list_process_10.png";
+ tween: "00_winset_list_process_11.png";
+ tween: "00_winset_list_process_12.png";
+ tween: "00_winset_list_process_13.png";
+ tween: "00_winset_list_process_14.png";
+ tween: "00_winset_list_process_15.png";
+ tween: "00_winset_list_process_16.png";
+ tween: "00_winset_list_process_17.png";
+ tween: "00_winset_list_process_18.png";
+ tween: "00_winset_list_process_19.png";
+ tween: "00_winset_list_process_20.png";
+ tween: "00_winset_list_process_21.png";
+ tween: "00_winset_list_process_22.png";
+ tween: "00_winset_list_process_23.png";
+ tween: "00_winset_list_process_24.png";
+ tween: "00_winset_list_process_25.png";
+ tween: "00_winset_list_process_26.png";
+ tween: "00_winset_list_process_27.png";
+ tween: "00_winset_list_process_28.png";
+ tween: "00_winset_list_process_29.png";
+ }
+ }
+ }
+ part { name: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_vbar_clip";
+ clip_to: "sb_vbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {name: "vbar.padding";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 0;
+ max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_PADDING_SIZE 0;
+ align: 1 0.5;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "sb_vbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ align: 1.0 0.0;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: -1 0;
+ to_y: "elm.swallow.content";
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ to_y: "elm.swallow.content";
+ to_x: "vbar.padding";
+ }
+ }
+ }
+ part { name: "sb_vbar_runner";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC;
+ rel1.to: "sb_vbar";
+ rel2.to: "sb_vbar";
+ visible: 0;
+ image {
+ normal: "sb_runnerv.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_RUNNER_BORDER;
+ border_scale: 1;
+ }
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.dragable.vbar";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 0 0 0;
+ y: 1 1 0;
+ confine: "sb_vbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MIN_SIZE_INC;
+ max: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_MAX_SIZE_INC;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_vbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_vbar";
+ }
+ image {
+ normal: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE;
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_IMAGE_BORDER;
+ border_scale: 1;
+ middle: DEFAULT;
+ }
+ }
+ }
+ part { name: "sb_vbar_over1";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "elm.dragable.vbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_hilight.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER1;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_vbar_over2";
+ clip_to: "sb_vbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.vbar";
+ rel2.to: "elm.dragable.vbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_shine.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_VBAR_OVER2;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part { name: "sb_hbar_clip";
+ clip_to: "sb_hbar_clip_master";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ }
+ part {name: "hbar.padding";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE;
+ max: 0 SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_PADDING_SIZE;
+ align: 1 1;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "elm.swallow.content";
+ }
+ }
+ }
+ part { name: "sb_hbar";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ visible: 0;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ align: 0.0 1.0;
+ rel1 {
+ relative: 0.0 1.0;
+ offset: 0 -1;
+ to_y: "elm.swallow.content";
+ to_x: "elm.swallow.content";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: -1 -1;
+ to_x: "sb_vbar";
+ to_y: "hbar.padding";
+ }
+ }
+ }
+ part { name: "sb_hbar_runner";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ max: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_MAX_SIZE_INC;
+ rel1.to: "sb_hbar";
+ rel2.to: "sb_hbar";
+ visible: 0;
+ image {
+ normal: "sb_runnerh.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_RUNNER_BORDER;
+ border_scale: 1;
+ }
+ fill.smooth: 0;
+ }
+ }
+ part { name: "elm.dragable.hbar";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 0 0 0;
+ confine: "sb_hbar";
+ }
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MIN_SIZE_INC;
+ max: SCROLLER_MATCHLIST_SCROLLBAR_HBAR_MAX_SIZE_INC;
+ rel1 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_hbar";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ offset: 0 0;
+ to: "sb_hbar";
+ }
+ color: 255 255 255 0;
+ image {
+ normal: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE;
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_IMAGE_BORDER;
+ border_scale: 1;
+ middle: SOLID;
+ }
+ }
+ }
+ part { name: "sb_hbar_over1";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "elm.dragable.hbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_hilight.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER1;
+ border_scale: 1;
+ }
+ }
+ }
+ part { name: "sb_hbar_over2";
+ clip_to: "sb_hbar_clip";
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.dragable.hbar";
+ rel2.to: "elm.dragable.hbar";
+ visible: 0;
+ image {
+ normal: "bt_sm_shine.png";
+ border: SCROLLER_PHOTOCAM_SCROLLBAR_HBAR_OVER2;
+ border_scale: 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "load";
+ signal: "load";
+ source: "";
+ script {
+ set_state(PART:"sb_hbar_clip", "hidden", 0.0);
+ set_state(PART:"sb_vbar_clip", "hidden", 0.0);
+ set_int(sbvis_h, 0);
+ set_int(sbvis_v, 0);
+ set_int(sbalways_v, 0);
+ set_int(sbalways_h, 0);
+ set_int(sbvis_timer, 0);
+ }
+ }
+
+ program { name: "vbar_show";
+ signal: "elm,action,show,vbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_hide";
+ signal: "elm,action,hide,vbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_vbar_clip_master";
+ }
+ program { name: "vbar_show_always";
+ signal: "elm,action,show_always,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ set_int(sbalways_v, 1);
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ }
+ }
+ program { name: "vbar_show_notalways";
+ signal: "elm,action,show_notalways,vbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_v);
+ if (v) {
+ set_int(sbalways_v, 0);
+ v = get_int(sbvis_v);
+ if (!v) {
+ emit("do-hide-vbar", "");
+ set_int(sbvis_v, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_vbar_show";
+ signal: "do-show-vbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_vbar_clip";
+ }
+ program { name: "sb_vbar_hide";
+ signal: "do-hide-vbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_vbar_clip";
+ }
+
+ program { name: "hbar_show";
+ signal: "elm,action,show,hbar";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_hide";
+ signal: "elm,action,hide,hbar";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "sb_hbar_clip_master";
+ }
+ program { name: "hbar_show_always";
+ signal: "elm,action,show_always,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ set_int(sbalways_h, 1);
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ }
+ }
+ program { name: "hbar_show_notalways";
+ signal: "elm,action,show_notalways,hbar";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbalways_h);
+ if (v) {
+ set_int(sbalways_h, 0);
+ v = get_int(sbvis_h);
+ if (!v) {
+ emit("do-hide-hbar", "");
+ set_int(sbvis_h, 0);
+ }
+ }
+ }
+ }
+ program { name: "sb_hbar_show";
+ signal: "do-show-hbar";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_hbar_clip";
+ }
+ program { name: "sb_hbar_hide";
+ signal: "do-hide-hbar";
+ source: "";
+ action: STATE_SET "hidden" 0.0;
+ transition: LINEAR 1.0;
+ target: "sb_hbar_clip";
+ }
+
+ program { name: "scroll";
+ signal: "elm,action,scroll";
+ source: "elm";
+ script {
+ new v;
+ v = get_int(sbvis_v);
+ v |= get_int(sbalways_v);
+ if (!v) {
+ emit("do-show-vbar", "");
+ set_int(sbvis_v, 1);
+ }
+ v = get_int(sbvis_h);
+ v |= get_int(sbalways_h);
+ if (!v) {
+ emit("do-show-hbar", "");
+ set_int(sbvis_h, 1);
+ }
+ v = get_int(sbvis_timer);
+ if (v > 0) cancel_timer(v);
+ v = timer(2.0, "timer0", 0);
+ set_int(sbvis_timer, v);
+ }
+ }
+ program { name: "go1";
+ signal: "elm,state,busy,start";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "busy_clip";
+ }
+ program { name: "go2";
+ signal: "elm,state,busy,start";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "busy";
+ after: "go2";
+ }
+ program { name: "stop1";
+ signal: "elm,state,busy,stop";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "busy_clip";
+ after: "stop2";
+ }
+ program { name: "stop2";
+ action: ACTION_STOP;
+ target: "go2";
+ }
+ }
+ }
+