summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-10-24 15:47:55 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-10-24 15:47:55 +0900
commite035ebce3d97ccfcf2dddf9be9806caa110bb787 (patch)
tree310b2e6b68dac26b32c3c0a7d3767cc69ba80507 /res
parentb54357062800cca296ade4fc82b7b5c13a280ff4 (diff)
downloadwallpaper-ui-service-e035ebce3d97ccfcf2dddf9be9806caa110bb787.tar.gz
wallpaper-ui-service-e035ebce3d97ccfcf2dddf9be9806caa110bb787.tar.bz2
wallpaper-ui-service-e035ebce3d97ccfcf2dddf9be9806caa110bb787.zip
Diffstat (limited to 'res')
-rwxr-xr-x[-rw-r--r--]res/resources/CMakeLists.txt12
-rwxr-xr-xres/resources/edje/button_customized_theme.edc519
-rw-r--r--res/resources/edje/color_classes.edc198
-rwxr-xr-xres/resources/edje/cp-wallpaper-main-view.edc529
-rw-r--r--res/resources/edje/gengrid_customized_theme.edc6
-rwxr-xr-xres/resources/edje/mutiple-wallpaper.edc118
-rwxr-xr-xres/resources/edje/popup-color-theme-main-view.edc164
-rw-r--r--res/resources/edje/popup-wallpaper-macro.edc6
-rwxr-xr-xres/resources/edje/popup-wallpaper-main-view.edc2693
-rwxr-xr-x[-rw-r--r--]res/resources/edje/popup-wallpaper.edc11
-rwxr-xr-xres/resources/icons/core_icon_back.pngbin0 -> 1214 bytes
-rwxr-xr-xres/resources/icons/home_wallpapaer_title_bg.#.pngbin0 -> 1435 bytes
12 files changed, 1392 insertions, 2864 deletions
diff --git a/res/resources/CMakeLists.txt b/res/resources/CMakeLists.txt
index 1c779a1..26d6dbe 100644..100755
--- a/res/resources/CMakeLists.txt
+++ b/res/resources/CMakeLists.txt
@@ -9,9 +9,19 @@ ADD_DEPENDENCIES(${PROJECT_NAME} popup-wallpaper.edj)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/edje/popup-wallpaper.edj DESTINATION ${EDJDIR})
+ADD_CUSTOM_TARGET(button_customized_theme.edj
+ COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/icons
+ -sd ${CMAKE_CURRENT_SOURCE_DIR}/sounds
+ ${CMAKE_CURRENT_SOURCE_DIR}/edje/button_customized_theme.edc
+ ${CMAKE_CURRENT_BINARY_DIR}/edje/button_customized_theme.edj
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/edje/button_customized_theme.edc
+)
+ADD_DEPENDENCIES(${PROJECT_NAME} button_customized_theme.edj)
+
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/edje/button_customized_theme.edj DESTINATION ${EDJDIR})
+
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/icons DESTINATION ${RESDIR} FILES_MATCHING PATTERN "*.png")
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/icons DESTINATION ${RESDIR} FILES_MATCHING PATTERN "*.PNG")
INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/icons DESTINATION ${RESDIR} FILES_MATCHING PATTERN "*.gif")
-INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/festival DESTINATION ${FESTIVALDIR} FILES_MATCHING PATTERN "*.jpg")
diff --git a/res/resources/edje/button_customized_theme.edc b/res/resources/edje/button_customized_theme.edc
new file mode 100755
index 0000000..144ee67
--- /dev/null
+++ b/res/resources/edje/button_customized_theme.edc
@@ -0,0 +1,519 @@
+/*
+ * Copyright (c) 20014-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+ //****************************************************************************//
+ // Button
+ //****************************************************************************//
+
+#define BUTTON_MIN_WIDTH_INC 50
+#define BUTTON_MIN_HEIGHT_INC 78
+#define BUTTON_BOTTOM_MIN_WIDTH_INC 118
+#define BUTTON_BOTTOM_MIN_HEIGHT_INC 104
+#define BUTTON_BG_MIN_HEIGHT_INC 44
+#define BUTTON_PADDING_ICON_RIGHT_INC 14
+#define BUTTON_PADDING_LEFT_RIGHT_INC 32
+#define BUTTON_PADDING_LEFT_ICON_TEXT_INC 56
+#define BUTTON_BG_PADDING_LEFT_RIGHT_INC 22
+#define BUTTON_PADDING_TOP_HEIGHT_INC 10
+#define BUTTON_PADDING_BOTTOM_HEIGHT_INC 14
+#define BUTTON_BOTTOM_PADDING_TOP_HEIGHT_INC 22
+#define BUTTON_BOTTOM_PADDING_BOTTOM_HEIGHT_INC 28
+#define BUTTON_ICON_HEIGHT_INC 80
+#define BUTTON_ICON_WIDTH_INC 80
+#define BUTTON_ICON_DEFAULT_HEIGHT_INC 60
+#define BUTTON_ICON_DEFAULT_WIDTH_INC 60
+
+#define BUTTON_CIRCLE_SIZE_INC 98 98
+#define BUTTON_CIRCLE_BASE_SIZE_INC 100 98
+#define BUTTON_CIRCLE_EXTENDED_SIZE_INC 100 199
+#define BUTTON_CIRCLE_ICON_SIZE_INC 60 60
+#define BUTTON_CIRCLE_PADDING_ICON_BOTTOM_INC 13
+#define BUTTON_NAVIFRAME_TITLE_BUTTON_SIZE_INC 67 67
+#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC 67 67
+#define BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC 67 67
+#define BUTTON_NAVIFRAME_DRAWERS_WIDTH_INC 55
+#define BUTTON_NAVIFRAME_DRAWERS_IMAGE_SIZE_INC 55 72
+#define BUTTON_NAVIFRAME_BACK_BUTTON_SIZE_INC 80 80
+
+#define BUTTON_NAVIFRAME_TITLE_LEFT_BUTTON_SIZE_INC 150 70
+#define BUTTON_NAVIFRAME_TITLE_LEFT_BUTTON_LEFT_PADDING_WIDTH_INC 32
+#define BUTTON_NAVIFRAME_TITLE_LEFT_BUTTON_RIGHT_PADDING_WIDTH_INC 23
+#define BUTTON_NAVIFRAME_TITLE_RIGHT_BUTTON_LEFT_PADDING_WIDTH_INC 23
+#define BUTTON_NAVIFRAME_TITLE_RIGHT_BUTTON_RIGHT_PADDING_WIDTH_INC 32
+
+#define STYLE_TAGS \
+ tag: "br" "\n";\
+ tag: "ps" "ps";\
+ tag: "tab" "\t";\
+ tag: "b" "+ font_weight=Bold";
+
+#define STYLE_TAG_MATCH \
+ tag: "match" "+ color=#3db8cc";
+
+
+collections {
+
+ base_scale: 2.4;
+
+
+ styles{
+ style { name: "button_title_right";
+ base: "color=#ffffffdd align=center font=Tizen:style=Regular font_size=32 text_class=tizen wrap=mixed ellipsis=1.0";
+ STYLE_TAGS
+ }
+ style { name: "button_title_right_press";
+ base: "color=#ffffffff align=center font=Tizen:style=Regular font_size=32 text_class=tizen wrap=mixed ellipsis=1.0";
+ STYLE_TAGS
+ }
+ style { name: "button_title_right_dim";
+ base: "color=#ffffff92 align=center font=Tizen:style=Regular font_size=32 text_class=tizen wrap=mixed ellipsis=1.0";
+ STYLE_TAGS
+ }
+ }
+
+
+ group { name: "elm/button/base/naviframe/title_left_custom";
+ script {
+ public mouse_down = 0;
+ public multi_down = 0;
+ public check_disabled = 0;
+ }
+ parts {
+ part { name: "button_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ clip_to: "button_bg_clipper";
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_TITLE_LEFT_BUTTON_SIZE_INC;
+ max: BUTTON_NAVIFRAME_TITLE_LEFT_BUTTON_SIZE_INC;
+ fixed: 1 1;
+ color: 0 0 0 0 ;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 30 ;
+ }
+ }
+ part { name: "button_bg_clipper";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "button_bg";
+ rel2.to: "button_bg";
+ color: 255 255 255 255;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: 193 193 193 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 61 185 204 77;
+ }
+ }
+ part { name: "left_padding";
+ type: SPACER;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_TITLE_LEFT_BUTTON_LEFT_PADDING_WIDTH_INC 0;
+ max: BUTTON_NAVIFRAME_TITLE_LEFT_BUTTON_LEFT_PADDING_WIDTH_INC -1;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1 { to: "button_bg"; relative: 0.0 0.0; }
+ rel2 { to: "button_bg"; relative: 0.0 1.0; }
+ }
+ }
+ part { name: "right_padding";
+ type: SPACER;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_TITLE_LEFT_BUTTON_RIGHT_PADDING_WIDTH_INC 0;
+ max: BUTTON_NAVIFRAME_TITLE_LEFT_BUTTON_RIGHT_PADDING_WIDTH_INC -1;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1 { to: "button_bg"; relative: 1.0 0.0; }
+ rel2 { to: "button_bg"; relative: 1.0 1.0; }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 { to: "left_padding"; relative: 1.0 0.0; }
+ rel2 { to: "right_padding"; relative: 0.0 1.0; }
+ text {
+ style: "button_title_left";
+ min: 0 1;
+ }
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ text.style: "button_title_left_press";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text.style: "button_title_left_dim";
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to: "button_bg";
+ rel2.to: "button_bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "button_bg";
+ rel2.to: "button_bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "button_bg";
+ rel2.to: "button_bg";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_press";
+ signal: "mouse,down,1*";
+ source: "over2";
+ script {
+ if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
+ {
+ set_int(mouse_down, 1);
+ set_state(PART:"button_bg", "pressed", 0.0);
+ emit("elm,action,press", "");
+ }
+ }
+ }
+ program { name: "button_unpress";
+ signal: "mouse,up,1*";
+ source: "over3";
+ script {
+ if (get_int(mouse_down) == 1)
+ {
+ set_int(mouse_down, 0);
+ set_state(PART:"button_bg", "default", 0.0);
+ emit("elm,action,unpress", "");
+ }
+ }
+ }
+ program { name: "button_click";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ script {
+ if (get_int(multi_down) == 0) {
+ run_program(PROGRAM:"play_sound");
+ emit("elm,action,click", "");
+ }
+ }
+ }
+ program { name: "play_sound";
+ action: RUN_PLUGIN "touch_sound";
+ }
+ program { name: "key_press";
+ signal: "elm,action,pressed";
+ source: "elm";
+ action: STATE_SET "pressed" 0.0;
+ target: "button_bg_clipper";
+ }
+ program { name: "key_unpress";
+ signal: "elm,action,unpressed";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_bg_clipper";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_bg_clipper";
+ target: "elm.text";
+ target: "disabler";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_bg_clipper";
+ target: "elm.text";
+ target: "disabler";
+ }
+ program {
+ name: "multi_down";
+ signal: "elm,action,multi,down";
+ source: "elm";
+ script {
+ set_int(multi_down, 1);
+ }
+ }
+ program {
+ name: "multi_up";
+ signal: "elm,action,multi,up";
+ source: "elm";
+ script {
+ set_int(multi_down, 0);
+ }
+ }
+ }
+ }
+
+ group { name: "elm/button/base/naviframe/title_right_custom";
+ inherit: "elm/button/base/naviframe/title_left_custom";
+ parts {
+ part { name: "left_padding";
+ type: SPACER;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_TITLE_RIGHT_BUTTON_LEFT_PADDING_WIDTH_INC 0;
+ max: BUTTON_NAVIFRAME_TITLE_RIGHT_BUTTON_LEFT_PADDING_WIDTH_INC -1;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1 { to: "button_bg"; relative: 0.0 0.0; }
+ rel2 { to: "button_bg"; relative: 0.0 1.0; }
+ }
+ }
+ part { name: "right_padding";
+ type: SPACER;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_TITLE_RIGHT_BUTTON_RIGHT_PADDING_WIDTH_INC 0;
+ max: BUTTON_NAVIFRAME_TITLE_RIGHT_BUTTON_RIGHT_PADDING_WIDTH_INC -1;
+ align: 1.0 0.0;
+ fixed: 1 1;
+ rel1 { to: "button_bg"; relative: 1.0 0.0; }
+ rel2 { to: "button_bg"; relative: 1.0 1.0; }
+ }
+ }
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 0.5;
+ rel1 { to: "left_padding"; relative: 1.0 0.0; }
+ rel2 { to: "right_padding"; relative: 0.0 1.0; }
+ text {
+ style: "button_title_right";
+ min: 0 1;
+ }
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ text.style: "button_title_right_press";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text.style: "button_title_right_dim";
+ }
+ }
+ }
+ }
+
+ group { name: "elm/button/base/naviframe/back_btn/custom";
+ alias: "elm/button/base/naviframe/end_btn/default";
+ images {
+ set {
+ name: "core_icon_back";
+ image {
+ image: "icons/core_icon_back.png" COMP;
+ }
+ }
+ }
+ script {
+ public mouse_down = 0;
+ public multi_down = 0;
+ public check_disabled = 0;
+ }
+ parts {
+ part { name: "button_bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ clip_to: "button_bg_clipper";
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_BACK_BUTTON_SIZE_INC;
+ max: BUTTON_NAVIFRAME_BACK_BUTTON_SIZE_INC;
+ fixed: 1 1;
+ color: 0 0 0 0;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 30;
+ }
+ }
+ part { name: "button_bg_clipper";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "button_bg";
+ rel2.to: "button_bg";
+ color: 255 255 255 255;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: 193 193 193 255;
+ }
+ }
+ part { name: "button_icon";
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_BACK_BUTTON_SIZE_INC;
+ max: BUTTON_NAVIFRAME_BACK_BUTTON_SIZE_INC;
+ fixed: 1 1;
+ color: 255 255 255 255;
+ image.normal: "core_icon_back";
+ }
+ }
+ part { name: "over2";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to: "button_bg";
+ rel2.to: "button_bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "over3";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "button_bg";
+ rel2.to: "button_bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "button_bg";
+ rel2.to: "button_bg";
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "button_press";
+ signal: "mouse,down,1*";
+ source: "over2";
+ script {
+ if ((get_int(multi_down) == 0) && (get_int(mouse_down) == 0))
+ {
+ set_int(mouse_down, 1);
+ set_state(PART:"button_bg", "pressed", 0.0);
+ emit("elm,action,press", "");
+ }
+ }
+ }
+ program { name: "button_unpress";
+ signal: "mouse,up,1*";
+ source: "over3";
+ script {
+ if (get_int(mouse_down) == 1)
+ {
+ set_int(mouse_down, 0);
+ set_state(PART:"button_bg", "default", 0.0);
+ emit("elm,action,unpress", "");
+ }
+ }
+ }
+ program { name: "button_click";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ script {
+ if (get_int(multi_down) == 0) {
+ run_program(PROGRAM:"play_sound");
+ emit("elm,action,click", "");
+ }
+ }
+ }
+ program { name: "play_sound";
+ action: RUN_PLUGIN "touch_sound";
+ }
+ program { name: "key_press";
+ signal: "elm,action,pressed";
+ source: "elm";
+ action: STATE_SET "pressed" 0.0;
+ target: "button_bg_clipper";
+ }
+ program { name: "key_unpress";
+ signal: "elm,action,unpressed";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_bg_clipper";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button_bg_clipper";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button_bg_clipper";
+ }
+ program {
+ name: "multi_down";
+ signal: "elm,action,multi,down";
+ source: "elm";
+ script {
+ set_int(multi_down, 1);
+ }
+ }
+ program {
+ name: "multi_up";
+ signal: "elm,action,multi,up";
+ source: "elm";
+ script {
+ set_int(multi_down, 0);
+ }
+ }
+ }
+ }
+}
+
+
diff --git a/res/resources/edje/color_classes.edc b/res/resources/edje/color_classes.edc
new file mode 100644
index 0000000..f0761b3
--- /dev/null
+++ b/res/resources/edje/color_classes.edc
@@ -0,0 +1,198 @@
+/*
+ * Copyright (c) 20014-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+color_classes {
+ color_class {
+ name: "AO001";
+ color: 7 7 7 102;
+ }
+ color_class {
+ name: "AO002";
+ color: 244 244 244 76;
+ }
+ color_class {
+ name: "AO003";
+ color: 224 42 35 255;
+ }
+ color_class {
+ name: "AO004";
+ color: 244 244 244 127;
+ }
+ color_class {
+ name: "AO005";
+ color: 7 7 7 255;
+ }
+ color_class {
+ name: "AO006";
+ color: 7 7 7 255;
+ }
+ color_class {
+ name: "AO007";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AO008";
+ color: 255 255 255 127;
+ }
+ color_class {
+ name: "AO009";
+ color: 0 0 0 76;
+ }
+ color_class {
+ name: "AO010";
+ color: 35 185 255 255;
+ }
+ color_class {
+ name: "AO011";
+ color: 2 198 247 216;
+ }
+ color_class {
+ name: "AO013";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AO014";
+ color: 249 249 249 127;
+ }
+ color_class {
+ name: "AO019";
+ color: 0 0 0 51;
+ }
+ color_class {
+ name: "AO020";
+ color: 20 107 147 107;
+ }
+ color_class {
+ name: "AO024";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AO020D";
+ color: 20 107 147 76;
+ }
+ color_class {
+ name: "AO015";
+ color: 0 0 0 127;
+ }
+ color_class {
+ name: "ATO001";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO002";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO003";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO004";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO005";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO006";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO007";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO008";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO009";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO010";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO011";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO026";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO012";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO013";
+ color: 224 42 35 255;
+ }
+ color_class {
+ name: "ATO014";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO015";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO016";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO017";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO018";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO019";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO020";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO021";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO022";
+ color: 244 244 244 255;
+ }
+ color_class {
+ name: "ATO023";
+ color: 7 7 7 255;
+ }
+ color_class {
+ name: "ATO024";
+ color: 7 7 7 127;
+ }
+ color_class {
+ name: "ATO025";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "ATO031";
+ color: 255 255 255 255;
+ }
+}
diff --git a/res/resources/edje/cp-wallpaper-main-view.edc b/res/resources/edje/cp-wallpaper-main-view.edc
deleted file mode 100755
index 2697d29..0000000
--- a/res/resources/edje/cp-wallpaper-main-view.edc
+++ /dev/null
@@ -1,529 +0,0 @@
-/*
- * cp-wallpaper-efl
- *
- * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-group{
-
- name: "cp.wallpaper.main";
- parts{
- part {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- rel1 { relative: 0 0; }
- rel2 { relative: 1 1; }
- color_class : "B0216";
- }
- }
- part {
- name: "cp";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- to: "bg";
- relative : 0.0 0.0;
- }
- rel2 {
- to: "bg";
- relative : 1.0 1.0;
- }
- }
- }
- }
-}
-
-group {
- name: "cp_gengrid.item";
-
- parts {
-
- part { name: "border";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 125 125 125 125;
- visible: 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
-
- part { name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- visible: 1;
- rel1 { relative: 0.0 0.0; offset: 2 2; }
- rel2 { relative: 1.0 1.0; offset: -3 -3; }
- }
- }
-
- part { name: "item";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- }
- }
- part { name: "check";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- align: 1.0 0.5;
- min: 40 40;
- fixed: 1 1;
- rel1 { relative: 0.85 0.10; to: "item";}
- rel2 { relative: 0.95 0.25; to: "item";}
- }
- }
- }
-}
-
-#define POPUP_CHECK_VIEW_LAYOUT_MIN_INC 0 252
-#define POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC 0 192
-#define POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC 0 60
-#define POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC 40 40
-#define POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 18
-#define POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 18
-group { name: "popup_checkview_layout";
- parts {
- part { name: "bg";
- scale: 1;
- type: SPACER;
- description { state: "default" 0.0;
- min: POPUP_CHECK_VIEW_LAYOUT_MIN_INC;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- //fixed: 0 1;
- fixed: 1 0;
- min: POPUP_CHECK_VIEW_LAYOUT_CONTENT_MIN_INC;
- align: 0.5 0.0;
- rel2 {
- relative: 1.0 0.0;
- to: "pad_b";
- }
- }
- }
- part { name: "pad_b";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 1.0;
- min: POPUP_CHECK_VIEW_LAYOUT_BOTTOM_MIN_INC;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- }
- }
- part { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.5;
- min: POPUP_CHECK_VIEW_SWALLOW_END_MIN_INC;
- fixed: 1 1;
- rel1 {
- relative: 1.0 1.0;
- to_x: "pad_l";
- to_y: "pad_b";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "pad_r";
- to_y: "pad_b";
- }
- }
- }
- }
-}
-
-#define FONT_STYLE " color=#fefefeff style=tizen_shadow shadow_color=#000000cc "
-
-group {
- styles
- {
- style {
- name: "textblock_style";
- base: "font=Tizen:style=Regular text_class=ATO023 font_size=24 align=left wrap=mixed color_class=ATO025"FONT_STYLE;
- tag: "br" "\n";
- tag: "hilight" "+ color=#ffff";
- tag: "b" "+ color=#ffff";
- tag: "tab" "\t";
- }
- }
- images {
- image: "thumbnail_Badge_ic.png" COMP;
- image: "thumbnail_bg.png" COMP;
- }
-
- name: "gengrid.item.check";
-
- parts {
-
- part { name: "border";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- //color: 125 125 125 125;
- visible: 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
-
- part { name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- }
- }
-
- part { name: "item";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- }
- }
- part { name: "check";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- fixed : 1 1;
- align : 1.0 0.0;
- rel1 { relative: (158-14)/158 14/158; to: "item";}
- rel2 { relative: (158-14)/158 14/158; to: "item";}
- }
- }
- part { name: "thumbnail_bg";
- type: IMAGE;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {state: "default" 0.0;
- image.normal: "thumbnail_bg.png";
- fixed:1 1;
- visible: 1;
- rel1 { relative: 0.0 89/158; to: "item";}
- rel2 { relative: 1.0 1.0; to: "item";}
- color_class:"AO015";
- }
- }
- part { name: "text";
- type: TEXTBLOCK;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {state: "default" 0.0;
- fixed:1 1;
- visible: 1;
- align: 0.0 0.0;
- rel1 { relative: 8/158 4/69; to: "thumbnail_bg";}
- rel2 { relative: (158-8)/158 (69-2)/69; to: "thumbnail_bg";}
- text {
- style: textblock_style;
- align: 0.0 0.0;
- }
- }
- }
- /*part { name: "name_text";
- type: TEXTBLOCK;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {state: "default" 0.0;
- min:115 32;
- fixed:1 1;
- visible: 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to: "text";}
- rel2 { relative: 1.0 1.0; to: "text";}
- text {
- style: textblock_style;
- }
- }
- }*/
- /*part { name: "badge_icon";
- type: IMAGE;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {state: "default" 0.0;
- image.normal: "thumbnail_Badge_ic.png";
- fixed:1 1;
- visible: 1;
- rel1 { relative: 115/158 106/158; to: "item";}
- rel2 { relative: 149/158 140/158; to: "item";}
- }
- description {state: "no_badge" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }*/
- }
- /*programs{
- program { name: "badge";
- signal: "badge";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "badge_icon";
- }
- program { name: "no_badge";
- signal: "no_badge";
- source: "elm";
- action: STATE_SET "no_badge" 0.0;
- target: "badge_icon";
- }
- }*/
-}
-
-group{ name: "popup_wifi_check_layout";
- parts {
- part { name: "bg";
- scale: 1;
- type: SPACER;
- description { state: "default" 0.0;
- min: 0 252;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- //fixed: 0 1;
- fixed: 1 0;
- min: 0 162;
- align: 0.5 0.0;
- rel2 {
- relative: 1.0 0.0;
- to: "pad_b";
- }
- }
- }
- part { name: "pad_b";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 1.0;
- min: 0 90;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- }
- }
- part { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.5;
- min: 40 40;
- fixed: 1 1;
- rel1 {
- relative: 1.0 1.0;
- to_x: "pad_l";
- to_y: "pad_b";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "pad_r";
- to_y: "pad_b";
- }
- }
- }
- }
-}
-
-group { name: "processing_view";
- styles {
- style { name: "popup_processing";
- base: "font=Tizen:style=Regular align=left font_size=30 color=#FFFFFF color_class=T123 wrap=mixed ellipsis=1.0 text_class=T123";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 96;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 27 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 96;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 96;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing";
- min: 0 1;
- }
- }
- }
- }
-}
-
diff --git a/res/resources/edje/gengrid_customized_theme.edc b/res/resources/edje/gengrid_customized_theme.edc
index c1a3543..b3ed766 100644
--- a/res/resources/edje/gengrid_customized_theme.edc
+++ b/res/resources/edje/gengrid_customized_theme.edc
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Zhang Qijie <qijie.zhang@samsung.com>, Xing Meiju <meiju.xing@samsung.com>
+ * Copyright (c) 20014-2015 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/res/resources/edje/mutiple-wallpaper.edc b/res/resources/edje/mutiple-wallpaper.edc
index 3245624..a5202e7 100755
--- a/res/resources/edje/mutiple-wallpaper.edc
+++ b/res/resources/edje/mutiple-wallpaper.edc
@@ -1,9 +1,5 @@
/*
- * popup-wallpaper-efl
- *
- * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 20014-2015 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -295,14 +291,36 @@ group{
}
image.normal: "thumbnail_focus.#.png";
image.border: 6 6 6 6;
- color_class: "AO010";
+ color_class: "ATO003";
}
- description {
- state: "enabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
+ description {
+ state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "text";
+ type: TEXTBLOCK;
+ effect : "TIZEN_SHADOW";
+ mouse_events : 0;
+ repeat_events : 1;
+ scale: 1;
+ description {state: "default" 0.0;
+ color : LOCK_TEXT_COLOR;
+ color2 : LOCK_TEXT_COLOR2;
+ color3 : LOCK_TEXT_COLOR3;
+ fixed:0 1;
+ visible: 1;
+ align : 0.5 1.0;
+ rel1 { relative: 5/137 130/137; to: "item";}
+ rel2 { relative: 132/137 130/137; to: "item";}
+ text {
+ style: style_default_and_gallery;
+ min : 0 1;
+ align : 0.5 1.0;
+ }
+ }
}
- }
} // parts
programs {
@@ -323,6 +341,14 @@ group{
}
+ program {
+ name: "set_action_focus";
+ signal: "elm,focus_highlight,show";
+ source: "app";
+ action: STATE_SET "enabled" 0.0;
+ target: "focus_bg";
+ }
+
}
}
@@ -417,76 +443,6 @@ group {
}
}
-group {
- name: "default_gengrid.color_palette_item";
-
- images {
- image: "single_selection.png" COMP;
- }
-
- parts {
-
- part { name: "border";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- //color: 125 125 125 125;
- visible: 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
-
- part { name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color_class: "AO020";
- }
- description {
- state: "pressed" 0.0;
- inherit: "default";
- color_class: "AO011";
- }
- }
-
- part { name: "icon";
- type: IMAGE;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- image.normal: "single_selection.png";
- visible: 1;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- }
- }
- }
-
-/* programs{
- program { name: "pressed";
- signal: "pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "bg";
- }
- program { name: "unpressed";
- signal: "unpressed";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- }*/
-}
-
-
group{
name: "wallpaper_lock.default";
diff --git a/res/resources/edje/popup-color-theme-main-view.edc b/res/resources/edje/popup-color-theme-main-view.edc
deleted file mode 100755
index bc85430..0000000
--- a/res/resources/edje/popup-color-theme-main-view.edc
+++ /dev/null
@@ -1,164 +0,0 @@
-/*
- * popup-wallpaper-efl
- *
- * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-group { name: "popup_color_theme";
- parts {
- part { name: "pad_t";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 0.0;
- min: 0 20;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 0.0;to_x: "pad_r";
- }
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 47 0;
- max: 47 0;
- fixed: 1 0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 0.0 1.0;
- }
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 47 0;
- max: 47 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- align: 1.0 0.0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "pad_l";
- to_y: "pad_t";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "pad_r";
- to_y: "pad_b";
- }
- }
- }
- part { name: "bottom_pad";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 1.0;
- min: 0 32;
- fixed: 0 1;
- rel1 {
- relative: 1.0 1.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- }
- }
- part { name: "pad_b";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 1.0;
- min: 0 340;
- fixed: 0 1;
- rel1 {
- relative: 0.0 0.0;
- to: "bottom_pad";
- }
- rel2 {
- relative: 1.0 0.0;
- to: "bottom_pad";
- }
- }
- }
- part { name: "end_field";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 1.0;
- min: 0 320;
- fixed: 0 1;
- rel1 {
- relative: 0.0 1.0;
- to: "pad_b";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "pad_b";
- }
- }
- }
- part { name: "elm.swallow.icon.bg";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 180 320;
- max: 180 320;
- align: 0.5 0.5;
- rel1.to: "end_field";
- rel2.to: "end_field";
- }
- }
- part { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 180 320;
- max: 180 320;
- align: 0.5 0.5;
- rel1.to: "end_field";
- rel2.to: "end_field";
- }
- }
- }
-}
diff --git a/res/resources/edje/popup-wallpaper-macro.edc b/res/resources/edje/popup-wallpaper-macro.edc
index 7cc281f..6f33d02 100644
--- a/res/resources/edje/popup-wallpaper-macro.edc
+++ b/res/resources/edje/popup-wallpaper-macro.edc
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 20014-2015 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/res/resources/edje/popup-wallpaper-main-view.edc b/res/resources/edje/popup-wallpaper-main-view.edc
index 50d2e4e..7ab880d 100755
--- a/res/resources/edje/popup-wallpaper-main-view.edc
+++ b/res/resources/edje/popup-wallpaper-main-view.edc
@@ -1,9 +1,5 @@
/*
- * popup-wallpaper-efl
- *
- * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 20014-2015 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,7 +15,43 @@
*
*/
-#define LOCK_FONT_STYLE " color=#fefefeff style=tizen_shadow shadow_color=#000000cc "
+#define LOCK_FONT_STYLE " color=#fefefeff style=shadow shadow_color=#000000cc "
+#define NAVIFRAME_TOOLBAR_HEIGHT_INC 0 //28
+
+#define NAVIFRAME_VIEW_PUSH_TRANS_TIME 0.5
+#define NAVIFRAME_VIEW_POP_TRANS_TIME 0.5
+
+#define NAVIFRAME_TITLE_HEIGHT_INC 110
+#define NAVIFRAME_SUBTITLE_HEIGHT_INC 38
+#define NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC 3
+#define NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC 3
+#define NAVIFRAME_TABBAR_HEIGHT_INC 110
+#define NAVIFRAME_TABBAR_TITLE_HEIGHT_INC 100
+#define NAVIFRAME_NAVIGATIONBAR_HEIGHT_INC 70
+#define NAVIFRAME_NAVIGATIONBAR_TOP_DIVIDER_HEIGHT_INC 2
+#define NAVIFRAME_TABBAR_TOP_DIVIDER_HEIGHT_INC 0
+#define NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0
+#define NAVIFRAME_TITLE_RIGHT_PADDING_WIDTH_INC 23
+#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 120 108
+#define NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC 22
+#define NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC 22
+#define NAVIFRAME_BADGE_HEIGHT_INC 48
+#define NAVIFRAME_BADGE2_PADDING_WIDTH_INC (NAVIFRAME_BADGE_ICON_LEFT_PADDING_WIDTH_INC + NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC + NAVIFRAME_BADGE_TEXT_LEFT_PADDING_WIDTH_INC)
+#define NAVIFRAME_DRAWERS_WIDTH_INC 82
+#define NAVIFRAME_TOOLBAR_HEIGHT_INC 0
+#define NAVIFRAME_TOOLBAR_COLOR_INC 245 245 245 255
+#define NAVIFRAME_BACK_BUTTON_LR_PADDING_WIDTH_INC 10
+#define NAVIFRAME_BACK_BUTTON_TITLE_RIGHT_PADDING_WIDTH_INC 100
+#define NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC 50
+#define NAVIFRAME_SUBTITLE_VISIBLE_TEXT_FONT_SIZE_INC 42
+#define NAVIFRAME_VISIBLE_TEXT_FONT_SIZE_INC 28
+
+#define BUTTON_NAVIFRAME_TITLE_BUTTON_SIZE_INC 67 67
+#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_SIZE_INC 67 67
+#define BUTTON_NAVIFRAME_TITLE_BUTTON_IMAGE_SIZE_INC 67 67
+#define BUTTON_NAVIFRAME_DRAWERS_WIDTH_INC 55
+#define BUTTON_NAVIFRAME_DRAWERS_IMAGE_SIZE_INC 55 72
+#define BUTTON_NAVIFRAME_BACK_BUTTON_SIZE_INC 80 80
styles{
style {
@@ -32,7 +64,7 @@ styles{
}
style {
name: "style_default_and_gallery";
- base: "font=Tizen:style=Regular text_class=ATO025 font_size=24 align=center wrap=mixed color_class=ATO025"LOCK_FONT_STYLE;
+ base: "font=Tizen:style=Regular text_class=ATO025 font_size=30 align=center wrap=mixed"LOCK_FONT_STYLE;
tag: "br" "\n";
tag: "hilight" "+ color=#ffff";
tag: "b" "+ color=#ffff";
@@ -40,842 +72,37 @@ styles{
}
style {
name: "style_default_and_gallery_dim";
- base: "font=Tizen:style=Regular text_class=ATO025D font_size=24 align=center wrap=mixed color_class=ATO025D"LOCK_FONT_STYLE;
+ base: "font=Tizen:style=Regular text_class=ATO025D font_size=24 align=center wrap=mixed"LOCK_FONT_STYLE;
tag: "br" "\n";
tag: "hilight" "+ color=#ffff";
tag: "b" "+ color=#ffff";
tag: "tab" "\t";
}
-}
-
-group{
- name: "popup.wallpaper.main";
- parts{
- part{
- name: "background";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 0 0 0 0;
- }
- }
-/* part{
- name: "elm.swallow.genlist";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; to: "background";}
- //rel2 {relative: 1.0 0.4; to: "background";}
- rel2 {relative: 1.0 1.0; to: "background";}
- }
- }*/
+ style {
+ name: "style_text_tap";
+ base: "font=Tizen:style=Bold text_class=ATO003 font_size=35 align=center wrap=mixed"LOCK_FONT_STYLE;
+ tag: "br" "\n";
+ tag: "hilight" "+ color=#ffff";
+ tag: "b" "+ color=#ffff";
+ tag: "tab" "\t";
}
- programs{
+ style { name: "naviframe_title_style";
+ base: "font=Tizen:style=Regular align=center font_size=47 color=#FFFFFFFF wrap=mixed ellipsis=1.0 text_class=ATO025 style=shadow shadow_color=#0000004C";
+ tag: "br" "\n";
+ tag: "tab" "\t";
}
-}
-
-group{ name: "popup_checkview_image_2icons";
- parts {
- part{ name : "bg";
- type: RECT;
- description{
- state: "default" 0.0;
- color: 8 8 8 8;
- }
- }
- part { name: "pad_t";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 0.0;
- min: 0 0;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 0.0;to_x: "pad_r";
- }
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- fixed: 1 0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 0.0 1.0;
- }
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- align: 1.0 0.0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "pad_l";
- to_y: "pad_t";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "pad_r";
- to_y: "pad_b";
- }
- }
- }
- part { name: "pad_b";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 1.0;
- min: 0 270;
- fixed: 0 1;
- rel1 {
- relative: 0.5 1.0;
- }
- rel2 {
- relative: 0.5 1.0;
- }
- }
- }
- part { name: "elm.swallow.icon1";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- max: 108 108;
- min: 108 108;
- rel1 { relative: 0.21 0.096; offset: 0 0;}
- rel2 { relative: 0.47 0.652; offset: 0 0;}
- }
- }
- part { name: "elm.swallow.icon2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- max: 108 108;
- min: 108 108;
- rel1 {
- relative: 0.539 0.096;
- }
- rel2 {
- relative: 0.781 0.652;
- }
- }
- }
-#if 0
- part{
- name: "txt1";
- type: TEXT;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- color: 250 250 250 255;
- align: 0.5 0.5;
- //fixed: 1 1;
- rel1 {
- relative: 0.14 0.652; to: "bg";
- }
- rel2 {
- relative: 0.52 0.778; to: "bg";
- }
- text{
- style: style_txt_2icon;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- //align: 0.5 0.0;
- }
- }
- }
- part{
- name: "txt2";
- type: TEXT;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- color: 250 250 250 255;
- align: 0.5 0.5;
- //fixed: 1 1;
- rel1 {
- relative: 0.519 0.652; to: "bg";
- }
- rel2 {
- relative: 0.821 0.778; to: "bg";
- }
- text{
- style: style_txt_2icon;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- align: 0.5 0.0;
- }
- }
- }
-#endif
- part{
- name: "txt1";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- //color: 250 250 250 255;
- //align: 0.5 0.5;
- //fixed: 1 1;
- rel1 {
- relative: (85+67)/720 (26+150)/276; to: "bg";
- }
- rel2 {
- relative: (85+67+190)/720 (26+150+74)/276; to: "bg";
- }
- text{
- style: style_txt;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- align: 0.5 0.0;
- }
- }
- }
- part{
- name: "txt2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- //color: 250 250 250 255;
- //align: 0.5 0.5;
- //fixed: 1 1;
- rel1 {
- relative: (118+67+190+8)/720 (26+150)/276; to: "bg";
- }
- rel2 {
- relative: (118+67+190+8+190)/720 (26+150+74)/276; to: "bg";
- }
- text{
- style: style_txt;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- align: 0.5 0.0;
- }
- }
- }
-/* programs {
- PROGRAM_CLICKED_SIGNAL_EMIT_POPUP("elm.swallow.icon1","elm.swallow.icon1,clicked")
- PROGRAM_CLICKED_SIGNAL_EMIT_POPUP("elm.swallow.icon2","elm.swallow.icon2,clicked")
- }*/
- }
+ style { name: "naviframe_subtitle_visible_style";
+ base: "font=Samsung Condensed:style=Regular align=center font_size=32 color=#FFFFFFFF wrap=mixed ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "tab" "\t";
}
-
-group{ name: "popup_checkview_image_3icons";
- parts {
- part{ name : "bg";
- type: RECT;
- description{
- state: "default" 0.0;
- color: 8 8 8 8;
- }
- }
- part { name: "pad_t";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 0.0;
- min: 0 0;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 0.0;to_x: "pad_r";
- }
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- fixed: 1 0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 0.0 1.0;
- }
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- align: 1.0 0.0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "pad_l";
- to_y: "pad_t";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "pad_r";
- to_y: "pad_b";
- }
- }
- }
- part { name: "pad_b";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 1.0;
- min: 0 270;
- fixed: 0 1;
- rel1 {
- relative: 0.5 1.0;
- }
- rel2 {
- relative: 0.5 1.0;
- }
- }
- }
- part { name: "elm.swallow.icon1";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- max: 108 108;
- min: 108 108;
- rel1 { relative: 47/720 20/264; to: "bg";}
- rel2 { relative: (47+190)/720 (20+150)/264; to: "bg";}
- }
- }
- part { name: "elm.swallow.icon2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- max: 108 108;
- min: 108 108;
- rel1 {
- relative: (47+190+28)/720 20/264;
- to : "bg";
- }
- rel2 {
- relative: (47+190+28+190)/720 (20+150)/264;
- to : "bg";
- }
- }
- }
- part { name: "elm.swallow.icon3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- max: 108 108;
- min: 108 108;
- rel1 {
- relative: (47+190+28+190+28)/720 20/264;
- to : "bg";
- }
- rel2 {
- relative: (47+190+28+190+28+190)/720 (20+150)/264;
- to : "bg";
- }
- }
- }
-
- part{
- name: "txt1";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- //color: 250 250 250 255;
- //align: 0.5 0.5;
- //fixed: 1 1;
- rel1 {
- relative: (47)/720 (20+150)/264; to: "bg";
- }
- rel2 {
- relative: (47+190)/720 (20+150+74)/264; to: "bg";
- }
- text{
- style: style_txt;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- align: 0.5 0.0;
- }
- }
- }
- part{
- name: "txt2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- //color: 250 250 250 255;
- //align: 0.5 0.5;
- //fixed: 1 1;
- rel1 {
- relative: (47+190+28)/720 (20+150)/264; to: "bg";
- }
- rel2 {
- relative: (47+190+28+190)/720 (20+150+74)/264; to: "bg";
- }
- text{
- style: style_txt;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- align: 0.5 0.0;
- }
- }
- }
- part{
- name: "txt3";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- //color: 250 250 250 255;
- //align: 0.5 0.5;
- //fixed: 1 1;
- rel1 {
- relative: (47+190+28+190+28)/720 (20+150)/264; to: "bg";
- }
- rel2 {
- relative: (47+190+28+190+28+190)/720 (20+150+74)/264; to: "bg";
- }
- text{
- style: style_txt;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- align: 0.5 0.0;
- }
- }
- }
-/* programs {
- PROGRAM_CLICKED_SIGNAL_EMIT_POPUP("elm.swallow.icon1","elm.swallow.icon1,clicked")
- PROGRAM_CLICKED_SIGNAL_EMIT_POPUP("elm.swallow.icon2","elm.swallow.icon2,clicked")
- PROGRAM_CLICKED_SIGNAL_EMIT_POPUP("elm.swallow.icon3","elm.swallow.icon3,clicked")
- }*/
- }
+ style { name: "naviframe_subtitle_style";
+ base: "font=Samsung Condensed:style=Regular align=center font_size=22 color=#FFFFFFFF wrap=mixed ellipsis=1.0 text_class=tizen";
+ tag: "br" "\n";
+ tag: "tab" "\t";
}
-
-group { name: "popup_gengrid_custom_1line";
- parts {
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 594 264; // (190 + (4*2))*3 (150+37+37) + 20 + 20
- align: 0.5 0.5;
- }
- }
- }
-}
-
-group { name: "popup_gengrid_custom_rotate_1line";
- parts {
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 594 264; // (190 + (4*2))*4 (150+37+37) + 20 + 20
- max: 594 264;
- align: 0.5 0.5;
- }
- }
- }
-}
-
-group { name: "popup_gengrid_custom_2line";
- parts {
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 594 488; // (190 + (4*2))*3 (150+37+37)*2 + 20 + 20
- align: 0.5 0.5;
- }
- }
- }
}
-group { name: "popup_gengrid_custom_rotate_2line";
- parts {
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 594 488; // (190 + (4*2))*4 (150+37+37)*2 + 20 + 20
- max: 594 488;
- align: 0.5 0.5;
- }
- }
- }
-}
- #define T_HEIGHT 37*2
- #define PAD_T 20
- #define PAD_L 47
-
- //#define HEIGHT 96+20+150+37*2+150+37*2+20
- #define HEIGHT 578+4
- #define WIDTH 720
-
- group{ name: "popup_checkview_image_4icons";
- parts {
- part{ name : "bg";
- type: RECT;
- description{
- state: "default" 0.0;
- color: 8 8 8 8;
- }
- }
- part { name: "pad_t";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 0.0;
- min: 0 0;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 0.0;to_x: "pad_r";
- }
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- fixed: 1 0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 0.0 1.0;
- }
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- align: 1.0 0.0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "pad_l";
- to_y: "pad_t";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "pad_r";
- to_y: "pad_b";
- }
- }
- }
- part { name: "pad_b";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 1.0;
- min: 0 450;
- fixed: 0 1;
- rel1 {
- relative: 0.5 1.0;
- }
- rel2 {
- relative: 0.5 1.0;
- }
- }
- }
- part { name: "elm.swallow.icon1";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- //max: 108 108;
- //min: 108 108;
- //rel1 { relative: 47/720 (20+20)/HEIGHT; to: "bg";}
- //rel2 { relative: (47+190)/720 (20+20+150)/HEIGHT; to: "bg";}
- rel1 { relative: (PAD_L)/WIDTH (20)/HEIGHT; to: "bg";}
- rel2 { relative: (PAD_L+190)/WIDTH (20+150)/HEIGHT; to: "bg";}
- }
- }
- part { name: "elm.swallow.icon2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- /*max: 108 108;
- min: 108 108;
- rel1 {
- relative: (47+190+28)/720 (20+20)/HEIGHT;
- to : "bg";
- }
- rel2 {
- relative: (47+190+28+190)/720 (20+20+150)/HEIGHT;
- to : "bg";
- }*/
- rel1 { relative: (PAD_L+190+28)/WIDTH (20)/HEIGHT; to: "bg";}
- rel2 { relative: (PAD_L+190+28+190)/WIDTH (20+150)/HEIGHT; to: "bg";}
- }
- }
- part { name: "elm.swallow.icon3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- /*max: 108 108;
- min: 108 108;
- rel1 {
- relative: (47+190+28+190+28)/720 (20+20)/HEIGHT;
- to : "bg";
- }
- rel2 {
- relative: (47+190+28+190+28+190)/720 (20+20+150)/HEIGHT;
- to : "bg";
- }*/
- rel1 { relative: (PAD_L+190+28+190+28)/WIDTH (20)/HEIGHT; to: "bg";}
- rel2 { relative: (PAD_L+190+28+190+28+190)/WIDTH (20+150)/HEIGHT; to: "bg";}
- }
- }
- part { name: "elm.swallow.icon4";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- /*max: 108 108;
- min: 108 108;
- rel1 {
- relative: 47/720 (20++20+20+10+5+150+74+20)/HEIGHT;
- to : "bg";
- }
- rel2 {
- relative: (47+190)/720 (20+20+20+10+5+150+74+20+150)/HEIGHT;
- to : "bg";
- }*/
- rel1 { relative: (PAD_L)/WIDTH (20+150+T_HEIGHT)/HEIGHT; to: "bg";}
- rel2 { relative: (PAD_L+190)/WIDTH (20+150+T_HEIGHT+150)/HEIGHT; to: "bg";}
- }
- }
-
- part{
- name: "txt1";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- //color: 250 250 250 255;
- align: 0.5 0.0;
- //fixed: 1 1;
- /*rel1 {
- relative: (47)/720 (20+20+20+5+150)/HEIGHT; to: "bg";
- }
- rel2 {
- relative: (47+190)/720 (20+20+10+20+5+150+84)/HEIGHT; to: "bg";
- }*/
- rel1 { relative: (PAD_L)/WIDTH (20+150)/HEIGHT; to: "bg";}
- rel2 { relative: (PAD_L+190)/WIDTH (20+150+T_HEIGHT)/HEIGHT; to: "bg";}
- text{
- style: style_txt;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- align: 0.5 0.0;
- }
- }
- }
- part{
- name: "txt2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- //color: 250 250 250 255;
- align: 0.5 0.0;
- //fixed: 1 1;
- /*rel1 {
- relative: (47+190+28)/720 (20+20+20+5+150)/HEIGHT; to: "bg";
- }
- rel2 {
- relative: (47+190+28+190)/720 (20+20+20+5+150+74)/HEIGHT; to: "bg";
- }*/
- rel1 { relative: (PAD_L+190+28)/WIDTH (20+150)/HEIGHT; to: "bg";}
- rel2 { relative: (PAD_L+190+28+190)/WIDTH (20+150+T_HEIGHT)/HEIGHT; to: "bg";}
- text{
- style: style_txt;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- align: 0.5 0.0;
- }
- }
- }
- part{
- name: "txt3";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- //color: 250 250 250 255;
- align: 0.5 0.0;
- //fixed: 1 1;
- /*rel1 {
- relative: (47+190+28+190+28)/720 (20+20+20+5+150)/HEIGHT; to: "bg";
- }
- rel2 {
- relative: (47+190+28+190+28+190)/720 (20+20+20+5+150+74)/HEIGHT; to: "bg";
- }*/
- rel1 { relative: (PAD_L+190+28+190+28)/WIDTH (20+150)/HEIGHT; to: "bg";}
- rel2 { relative: (PAD_L+190+28+190+28+190)/WIDTH (20+150+T_HEIGHT)/HEIGHT; to: "bg";}
- text{
- style: style_txt;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- align: 0.5 0.0;
- }
- }
- }
- part{
- name: "txt4";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- //color: 250 250 250 255;
- align: 0.5 0.0;
- //fixed: 1 1;
- /*rel1 {
- relative: 47/720 (20+20+20+20+10+150+84+20+150)/HEIGHT; to: "bg";
- }
- rel2 {
- relative: (47+190)/720 (20+20+20+20+10+150+84+20+150+74)/HEIGHT; to: "bg";
- }*/
- rel1 { relative: (PAD_L)/WIDTH (20+150+T_HEIGHT+150)/HEIGHT; to: "bg";}
- rel2 { relative: (PAD_L+190)/WIDTH (20+150+T_HEIGHT+150+T_HEIGHT)/HEIGHT; to: "bg";}
- text{
- style: style_txt;
- //font: "Tizen:style=Regular";
- //text_class: "tizen";
- //size: 30;
- align: 0.5 0.0;
- }
- }
- }
-/* programs {
- PROGRAM_CLICKED_SIGNAL_EMIT_POPUP("elm.swallow.icon1","elm.swallow.icon1,clicked")
- PROGRAM_CLICKED_SIGNAL_EMIT_POPUP("elm.swallow.icon2","elm.swallow.icon2,clicked")
- PROGRAM_CLICKED_SIGNAL_EMIT_POPUP("elm.swallow.icon3","elm.swallow.icon3,clicked")
- PROGRAM_CLICKED_SIGNAL_EMIT_POPUP("elm.swallow.icon4","elm.swallow.icon4,clicked")
- }*/
- }
- }
-
#define LOCK_TEXT_STYLE "TIZEN_SHADOW"
#define LOCK_TEXT_COLOR 255 255 255 255
#define LOCK_TEXT_COLOR2 0 0 0 0
@@ -888,23 +115,36 @@ group { name: "popup_gengrid_custom_rotate_2line";
#define TAB_BAR_X_OFFSET 35
#define TAB_BAR_Y_OFFSET 4
-group { name: "pagecontrol_layout";
+
+group { name: "main_page_layout";
+ script {
+ public landscape_mode = 0; //Landscape status
+ public prev_btn_visible = 0; //Previous button visible status
+ public title_left_btn_visible = 0; //Title left button visible status
+ public title_right_btn_visible = 0; //Title right button visible status
+ public tabbar_visible = 0; //Tabbar visible status (This value is used for tabbar group)
+ }
+
images {
- image: "Wallpapers_tab_bar.#.png" COMP;
- image: "Wallpapers_tab_bar_ef.#.png" COMP;
+ set {
+ name: "home_wallpapaer_title_bg";
+ image {
+ image: "icons/home_wallpapaer_title_bg.#.png" RAW;
+ }
+ }
}
+
parts {
part { name: "bg";
type: RECT;
- scale: 1;
description { state: "default" 0.0;
color: 0 0 0 255;
}
}
- part { name: "scroller";
+ part { name: "preview_image";
type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
+ description {
+ state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
to: "bg";
@@ -916,378 +156,378 @@ group { name: "pagecontrol_layout";
align: 0.5 0.5;
}
}
+ part { name: "clipper";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "hidden" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "title_bg";
+ //type: RECT;
+ type: IMAGE;
+ scale: 1;
+ mouse_events: 0;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_TITLE_HEIGHT_INC;
+ max: -1 NAVIFRAME_TITLE_HEIGHT_INC;
+ align: 0.0 0.0;
+ fixed: 0 1;
+ rel1 { to: "bg"; relative: 0.0 0.0; }
+ rel2 { to: "bg"; relative: 1.0 0.0; }
+ image.normal: "icons/home_wallpapaer_title_bg.#.png";
+ visible: 1;
+ color: 0 0 0 255;
+ map.on: 1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: -1 0;
+ }
+ }
+ part { name: "title_clipper";
+ type: RECT;
+ mouse_events: 0;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.to_y: "title_bg";
+ rel2.to_y: "title_bg";
+ //color: 255 255 255 255;
+ color: 255 255 255 255;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "title_text_left_padding";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "title_bg";
+ rel2.to: "title_left_btn_right_padding";
+ }
+ }
+ part { name: "title_text_right_padding";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "title_right_btn_left_padding";
+ rel2.to: "title_bg";
+ }
+ }
+ part { name: "elm.text.title";
+ type: TEXTBLOCK;
+ scale: 1;
+ mouse_events: 0;
+ effect: TIZEN_GLOW_SHADOW;
+ clip_to: "title_text_clipper";
+ description { state: "default" 0.0;
+ text { style: "naviframe_title_style";}
+ fixed: 1 1;
+ rel1 { to_x: "title_text_left_padding"; to_y: "title_bg"; relative: 1.0 0.0; }
+ rel2 { to_x: "title_text_right_padding"; to_y: "title_bg"; relative: 0.0 1.0; }
+ color : 255 255 255 255;
+ color2: 0 0 0 255;
+ color3: 0 0 0 255;
+ }
+ description { state: "subtitle_visible" 0.0;
+ text { style: "naviframe_subtitle_visible_style";}
+ fixed: 1 1;
+ rel1 { to_x: "title_text_left_padding"; to_y: "title_top_padding"; relative: 1.0 1.0; }
+ rel2 { to_x: "title_text_right_padding"; to_y: "elm.text.subtitle"; relative: 0.0 0.0; }
+ }
+ }
+ part { name: "title_text_clipper";
+ type: RECT;
+ mouse_events: 0;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ rel1.to: "elm.text.title";
+ rel2.to: "elm.text.title";
+ }
+ }
+ part { name: "title_top_padding";
+ type: SPACER;
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC;
+ max: -1 NAVIFRAME_TITLE_TOP_PADDING_HEIGHT_INC;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ rel1 { to: "title_bg"; relative: 0.0 0.0; }
+ rel2 { to: "title_bg"; relative: 1.0 0.0; }
+ }
+ }
+ part { name: "elm.text.subtitle";
+ type: TEXTBLOCK;
+ scale: 1;
+ mouse_events: 0;
+ clip_to: "subtitle_text_clipper";
+ description { state: "default" 0.0;
+ text { style: "naviframe_subtitle_style";}
+ min: 0 NAVIFRAME_SUBTITLE_HEIGHT_INC;
+ max: -1 NAVIFRAME_SUBTITLE_HEIGHT_INC;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ rel1 { to_x: "title_left_btn_right_padding"; to_y: "subtitle_bottom_padding"; relative: 1.0 0.0; }
+ rel2 { to_x: "title_right_btn_left_padding"; to_y: "subtitle_bottom_padding"; relative: 0.0 0.0; }
+ }
+ }
+ part { name: "subtitle_text_clipper";
+ type: RECT;
+ mouse_events: 0;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ rel1.to: "elm.text.subtitle";
+ rel2.to: "elm.text.subtitle";
+ }
+ }
+ part { name: "subtitle_bottom_padding";
+ type: SPACER;
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC;
+ max: -1 NAVIFRAME_SUBTITLE_BOTTOM_PADDING_HEIGHT_INC;
+ fixed: 0 1;
+ align: 0.5 1.0;
+ rel1 { to: "title_bg"; relative: 0.0 1.0; }
+ rel2 { to: "title_bg"; relative: 1.0 1.0; }
+ }
+ }
+ part { name: "click_event_area";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ rel1.to: "title_bg";
+ rel2.to: "title_bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "access.title";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "title_bg";
+ rel2.to: "title_bg";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ max: 0 0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 { relative: 1.0 0.0; to: "title_left_btn_right_padding"; }
+ rel2 { relative: 1.0 1.0; to: "title_left_btn_right_padding"; }
+ visible: 0;
+ }
+ }
+ part { name: "title_left_btn_left_padding";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0;
+ max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { to: "title_bg"; relative: 0.0 0.0; }
+ rel2 { to: "title_bg"; relative: 0.0 1.0; }
+ }
+ }
+ part { name: "title_left_btn_bg";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 { to: "title_left_btn_left_padding"; relative: 1.0 0.0; }
+ rel2 { to: "title_left_btn_left_padding"; relative: 1.0 1.0; }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ }
+ }
+ part { name: "title_left_btn_right_padding";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { to: "title_left_btn_bg"; relative: 1.0 0.0; }
+ rel2 { to: "title_left_btn_bg"; relative: 1.0 1.0; }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0;
+ max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1;
+ }
+ }
+ part { name: "title_left_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "title_left_btn_bg";
+ rel2.to: "title_left_btn_bg";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "title_right_btn_left_padding";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { to: "title_right_btn_bg"; relative: 0.0 0.0; }
+ rel2 { to: "title_right_btn_bg"; relative: 0.0 1.0; }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0;
+ max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1;
+ }
+ }
+ part { name: "title_right_btn_bg";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 { to: "title_right_btn_right_padding"; relative: 0.0 0.0; }
+ rel2 { to: "title_right_btn_right_padding"; relative: 0.0 1.0; }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ }
+ }
+ part { name: "title_right_btn_right_padding";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC 0;
+ max: NAVIFRAME_TITLE_LEFT_PADDING_WIDTH_INC -1;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { to: "title_bg"; relative: 1.0 0.0; }
+ rel2 { to: "title_bg"; relative: 1.0 1.0; }
+ }
+ }
+ part { name: "title_right_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clipper";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "title_right_btn_bg";
+ rel2.to: "title_right_btn_bg";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+
+ part { name: "prev_btn_left_padding";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 8 0;
+ max: 8 -1;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1 { to: "title_bg"; relative: 0.0 0.0; }
+ rel2 { to: "title_bg"; relative: 0.0 1.0; }
+ }
+ }
+ part { name: "elm.swallow.prev_btn";
+ type: SWALLOW;
+ clip_to: "title_clipper";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: BUTTON_NAVIFRAME_BACK_BUTTON_SIZE_INC;
+ max: BUTTON_NAVIFRAME_BACK_BUTTON_SIZE_INC;
+ align: 0.0 0.5;
+ fixed: 1 1;
+ rel1 { to: "prev_btn_left_padding"; relative: 1.0 0.0; }
+ rel2 { to: "prev_btn_left_padding"; relative: 1.0 1.0; }
+ visible: 1;
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "prev_btn_right_padding";
+ type: SPACER;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 8 0;
+ max: 8 -1;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ rel1 { to: "elm.swallow.prev_btn"; relative: 1.0 0.0; }
+ rel2 { to: "elm.swallow.prev_btn"; relative: 1.0 1.0; }
+ }
+ }
+
part {
- name: "cliper1";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- rel1 { relative: 15/480 0/720; to: "bg"; }
- rel2 { relative: (15+225)/480 105/720; to: "bg";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "cliper2";
+ name: "controlbar_area";
type: RECT;
- scale: 1;
- mouse_events: 1;
- repeat_events: 1;
+ scale : 1;
+ mouse_events:0;
description {
state: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- rel1 { relative: (15+225)/480 0/720; to: "bg"; }
- rel2 { relative: (480-15)/480 105/720; to: "bg";}
+ rel1{ relative : 0.0 1.0; }
+ rel2{ relative : 1.0 1.0; }
+ fixed: 0 1;
+ align: 0.5 1.0;
color: 0 0 0 0;
+ visible : 1;
}
}
- part { name: "page_lockscreen_icon";
- mouse_events: 1;
- repeat_events: 1;
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- fixed: 1 1;
- visible: 1;
- rel1 { relative: (15+97)/480 16/720; to: "bg";}
- rel2 { relative: (15+97+40)/480 (16+40)/720; to: "bg";}
- align: 0.0 0.5;
- }
- }
- part { name: "text_lock";
+ part { name: "text_tap";
type: TEXTBLOCK;
effect : "TIZEN_SHADOW";
- mouse_events: 1;
- repeat_events: 1;
scale: 1;
- description {
- state: "default" 0.0;
- color : LOCK_TEXT_COLOR;
- color2 : LOCK_TEXT_COLOR2;
- color3 : LOCK_TEXT_COLOR3;
- fixed:1 1;
- visible: 1;
- rel1 { relative: (15+TAB_BAR_X_OFFSET)/480 (16+40)/720; to: "bg";}
- rel2 { relative: (15+TAB_BAR_X_OFFSET+164)/480 (16+40+28)/720; to: "bg";}
- text {
- style: style_default_and_gallery;
- min : 0 1;
- max: 1 0;
- align : 0.5 0.5;
- }
- }
- }
- part { name: "lock_bar_ef";
- type: IMAGE;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- to: "text_lock";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "text_lock";
- relative: 1.0 1.0;
- }
- image {
- normal: "Wallpapers_tab_bar_ef.#.png";
- }
- image.middle: 1;
- fixed: 0 1;
- min: 0 7;
- align: 0.5 0.0;
- visible: 1;
- }
- description { state: "dim" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "lock_bar";
- type: IMAGE;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- to: "text_lock";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "text_lock";
- relative: 1.0 1.0;
- }
- image {
- normal: "Wallpapers_tab_bar.#.png";
- }
- image.middle: 1;
- fixed: 0 1;
- min: 0 7;
- align: 0.5 0.0;
- visible: 1;
- color_class: "AO024";
- }
- description { state: "dim" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "page_home_icon";
mouse_events: 1;
repeat_events: 1;
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- fixed: 1 1;
- visible: 1;
- rel1 { relative: (15+225+88)/480 16/720; to: "bg";}
- rel2 { relative: (15+225+88+40)/480 (16+40)/720; to: "bg";}
- align: 0.0 0.5;
- }
- }
- part { name: "text_home";
- type: TEXTBLOCK;
- effect : "TIZEN_SHADOW";
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
description {
state: "default" 0.0;
- color : LOCK_TEXT_COLOR;
- color2 : LOCK_TEXT_COLOR2;
- color3 : LOCK_TEXT_COLOR3;
- fixed:1 1;
visible: 1;
- rel1 { relative: (15+225+26)/480 (16+40)/720; to: "bg";}
- rel2 { relative: (15+225+26+164)/480 (16+40+28)/720; to: "bg";}
+ rel1 { relative: 0.0 (720-456+36+14)/720; to: "bg";}
+ rel2 { relative: 1.0 (720-456+36+14+36)/720; to: "bg";}
text {
- style: style_default_and_gallery;
- min : 0 1;
- max: 1 0;
+ style: style_text_tap;
align : 0.5 0.5;
}
}
- }
- part { name: "home_bar_ef";
- type: IMAGE;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- to: "text_home";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "text_home";
- relative: 1.0 1.0;
- }
- image {
- normal: "Wallpapers_tab_bar_ef.#.png";
- }
- image.middle: 1;
- fixed: 0 1;
- min: 0 7;
- align: 0.5 0.0;
- visible: 1;
- }
- description { state: "dim" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "home_bar";
- type: IMAGE;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- to: "text_home";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "text_home";
- relative: 1.0 1.0;
- }
- image {
- normal: "Wallpapers_tab_bar.#.png";
- }
- image.middle: 1;
- fixed: 0 1;
- min: 0 7;
- align: 0.5 0.0;
- visible: 1;
- color_class: "AO024";
- }
- description { state: "dim" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- }
- programs{
- program {
- name: "page_home_icon_clicked";
- signal: "mouse,clicked,1";
- source: "page_home_icon";
- action: SIGNAL_EMIT "page_home_icon_clicked" "edj";
- }
- program {
- name: "page_lockscreen_icon_clicked";
- signal: "mouse,clicked,1";
- source: "page_lockscreen_icon";
- action: SIGNAL_EMIT "page_lockscreen_icon_clicked" "edj";
- }
- program {
- name: "cliper1_clicked";
- signal: "mouse,clicked,1";
- source: "cliper1";
- action: SIGNAL_EMIT "cliper1_clicked" "edj";
- after: "text_lock_default";
- after: "text_home_dim";
- after: "lock_bar_default";
- after: "lock_bar_ef_default";
- after: "home_bar_dim";
- after: "home_bar_ef_dim";
- }
- program {
- name: "cliper2_clicked";
- signal: "mouse,clicked,1";
- source: "cliper2";
- action: SIGNAL_EMIT "cliper2_clicked" "edj";
- after: "text_lock_dim";
- after: "text_home_default";
- after: "lock_bar_dim";
- after: "lock_bar_ef_dim";
- after: "home_bar_default";
- after: "home_bar_ef_default";
- }
- program {
- name: "text_home_default";
- signal: "text_home_default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "text_home";
- }
- program {
- name: "text_home_dim";
- signal: "text_home_dim";
- source: "elm";
- action: STATE_SET "dim" 0.0;
- target: "text_home";
- }
- program {
- name: "text_lock_default";
- signal: "text_lock_default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "text_lock";
- }
- program {
- name: "text_lock_dim";
- signal: "text_lock_dim";
- source: "elm";
- action: STATE_SET "dim" 0.0;
- target: "text_lock";
- }
- program {
- name: "home_bar_default";
- signal: "home_bar_default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "home_bar";
- }
- program {
- name: "home_bar_dim";
- signal: "home_bar_dim";
- source: "elm";
- action: STATE_SET "dim" 0.0;
- target: "home_bar";
- }
- program {
- name: "home_bar_ef_default";
- signal: "home_bar_ef_default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "home_bar_ef";
- }
- program {
- name: "home_bar_ef_dim";
- signal: "home_bar_ef_dim";
- source: "elm";
- action: STATE_SET "dim" 0.0;
- target: "home_bar_ef";
- }
- program {
- name: "lock_bar_default";
- signal: "lock_bar_default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "lock_bar";
- }
- program {
- name: "lock_bar_dim";
- signal: "lock_bar_dim";
- source: "elm";
- action: STATE_SET "dim" 0.0;
- target: "lock_bar";
- }
- program {
- name: "lock_bar_ef_default";
- signal: "lock_bar_ef_default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "lock_bar_ef";
- }
- program {
- name: "lock_bar_ef_dim";
- signal: "lock_bar_ef_dim";
- source: "elm";
- action: STATE_SET "dim" 0.0;
- target: "lock_bar_ef";
- }
- }
-}
-
-group { name: "preview_pagecontrol_layout";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- color: 0 0 0 255;
- }
- }
- part { name: "scroller";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 0.5 0.5;
+ description {
+ state : "hidden" 0.0;
+ visible : 0;
}
- }
- part {
- name: "controlbar_area";
- type: RECT;
- scale : 1;
- mouse_events:0;
description {
- state: "default" 0.0;
- min : 0 NAVIFRAME_TOOLBAR_HEIGHT_INC;
- fixed : 0 1;
- rel1{ relative : 0.0 1.0; }
- rel2{ relative : 1.0 1.0; }
- align: 0.5 1.0;
- color: 0 0 0 0;
+ state : "show" 0.0;
visible : 1;
}
}
@@ -1299,7 +539,6 @@ group { name: "preview_pagecontrol_layout";
repeat_events: 0;
description {
state: "default" 0.0;
- min: 0 136;
fixed: 0 1;
rel1 { to_y: "controlbar_area"; relative: 0.0 0.0; }
rel2 { to_y: "controlbar_area"; relative: 1.0 0.0; }
@@ -1315,6 +554,7 @@ group { name: "preview_pagecontrol_layout";
repeat_events: 0;
description {
state: "default" 0.0;
+ min: 0 195;
rel1 { to: "thumblist_bg"; }
rel2 { to: "thumblist_bg"; }
color: 0 0 0 0;
@@ -1327,7 +567,6 @@ group { name: "preview_pagecontrol_layout";
scale: 1;
description { state: "default" 0.0;
min: 15 15;
- fixed: 1 1;
visible: 0;
rel1 { relative: 1.0 0.0; to: "bg";}
rel2 { relative: 1.0 0.0; to: "bg";}
@@ -1337,947 +576,259 @@ group { name: "preview_pagecontrol_layout";
part {
name: "cliper";
type: RECT;
- scale: 1;
mouse_events: 1;
repeat_events: 1;
description {
+ min: 0 145;
state: "default" 0.0;
- fixed: 1 1;
visible: 1;
rel1 { relative: 380/480 5/720; to: "bg"; }
rel2 { relative: 470/480 100/720; to: "bg";}
color: 0 0 0 0;
}
}
- part { name: "preview_icon_part";
- type: TEXTBLOCK;
- effect : "TIZEN_SHADOW";
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {state: "default" 0.0;
- color : LOCK_TEXT_COLOR;
- color2 : LOCK_TEXT_COLOR2;
- color3 : LOCK_TEXT_COLOR3;
- fixed:1 1;
- visible: 1;
- rel1 { relative: 380/480 15/720; to: "bg"; }
- rel2 { relative: 470/480 55/720; to: "bg";}
- text {
- style: style_default_and_gallery;
- min : 0 1;
- align : 1 0.5;
- }
- }
- description {
- state: "dim" 0.0;
- color : LOCK_TEXT_COLOR_DIM;
- color2 : LOCK_TEXT_COLOR2_DIM;
- color3 : LOCK_TEXT_COLOR3_DIM;
- fixed:1 1;
- visible: 1;
- rel1 { relative: 380/480 15/720; to: "bg";}
- rel2 { relative: 470/480 55/720; to: "bg";}
- text {
- style: style_default_and_gallery_dim;
- min : 0 1;
- align : 1 0.5;
- }
- }
- }
}
programs{
+ /* preview */
program {
- name: "cliper_clicked";
- signal: "mouse,clicked,1";
- source: "cliper";
- action: SIGNAL_EMIT "cliper_clicked" "edj";
- }
- program {
- name: "cliper_clicked_down";
- signal: "mouse,down,1";
- source: "cliper";
- after: "preview_icon_part_dim";
+ name : "show_preview";
+ signal : "show_preview";
+ source : "preview_image";
+ action : STATE_SET "default" 0.0;
+ target : "text_tap";
}
program {
- name: "cliper_clicked_up";
- signal: "mouse,up,1";
- source: "cliper";
- after: "preview_icon_part_default";
+ name : "hide_preview";
+ signal : "hide_preview";
+ source : "preview_image";
+ action : STATE_SET "hidden" 0.0;
+ target : "text_tap";
}
- program {
- name: "preview_icon_part_dim";
- signal: "preview_icon_part_dim";
+ program { name: "content_new_pushed";
+ signal: "elm,state,new,pushed,deferred";
source: "elm";
- action: STATE_SET "dim" 0.0;
- target: "preview_icon_part";
+ action: STATE_SET "default" 0.0;
+ target: "clipper";
+ transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7;
+ after: "show_finished";
}
- program {
- name: "preview_icon_part_default";
- signal: "preview_icon_part_default";
+ program { name: "content_cur_pushed";
+ signal: "elm,state,cur,pushed,deferred";
source: "elm";
action: STATE_SET "default" 0.0;
- target: "preview_icon_part";
- }
- }
-}
-
-group { name: "pagecontrol_page_layout";
- parts {
- part { name: "page";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- }
- }
- }
-}
-
-group { name: "pagecontrol_preview_page_layout";
- parts {
- part { name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- }
- }
- part {
- name: "cliper";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- }
- }
- part { name: "page";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- clip_to: "cliper";
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 1.0 1.0; to: "bg";}
- }
- }
- }
-
- programs{
- program {
- name: "preview_clicked";
- signal: "mouse,clicked,1";
- source: "page";
- action: SIGNAL_EMIT "preview_clicked" "edj";
- }
- }
-}
-
-group { name: "wallpaper_page_layout";
-
- images {
- image: "set_thumbnail_focus.#.png" COMP;
- image: "set_thumbnail_focus_ef.#.png" COMP;
- }
-
- parts {
- part { name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- }
- }
- part {
- name: "cliper";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- }
- }
- part { name: "bg_image";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- clip_to: "cliper";
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 1.0 1.0; to: "bg";}
- }
+ target: "clipper";
+ transition: SIN_FAC NAVIFRAME_VIEW_PUSH_TRANS_TIME 1.7;
+ after: "pushed_finished";
}
- part { name: "text_tap";
- type: TEXTBLOCK;
- effect : "TIZEN_SHADOW";
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed:1 1;
- visible: 1;
- rel1 { relative: 0.0 (720-456+36+14)/720; to: "bg";}
- rel2 { relative: 1.0 (720-456+36+14+36)/720; to: "bg";}
- text {
- style: style_default_and_gallery;
- align : 0.5 0.0;
- }
- }
- }
- part { name: "page_default_wallpaper_icon";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 141 141;
- fixed: 1 1;
- visible: 1;
- rel1 { relative: 0.5 1.0; to: "bg";}
- rel2 { relative: 0.5 1.0; to: "bg";}
- align: 0.5 1.0;
- }
- }
- part { name: "page_gallery_icon";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 141 141;
- fixed: 1 1;
- visible: 1;
- rel1 { relative: 240/480 1.0; to: "bg";}
- rel2 { relative: 240/480 1.0; to: "bg";}
- align: 0.0 1.0;
- }
- }
- part {
- name : "page_default_wallpaper_icon_focus_bg_ef";
- type : IMAGE;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- visible : 0;
- }
- description {
- state : "selected" 0.0;
- rel1.to : "page_default_wallpaper_icon";
- rel2.to : "page_default_wallpaper_icon";
- image.normal: "set_thumbnail_focus_ef.#.png";
- }
- }
- part {
- name : "page_default_wallpaper_icon_focus_bg";
- type : IMAGE;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- visible : 0;
- }
- description {
- state : "selected" 0.0;
- rel1.to : "page_default_wallpaper_icon";
- rel2.to : "page_default_wallpaper_icon";
- image.normal: "set_thumbnail_focus.#.png";
- }
- }
- part {
- name : "page_gallery_icon_focus_bg_ef";
- type : IMAGE;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- visible : 0;
- }
- description {
- state : "selected" 0.0;
- rel1.to : "page_gallery_icon";
- rel2.to : "page_gallery_icon";
- image.normal: "set_thumbnail_focus_ef.#.png";
- }
+ program { name: "content_prev_popped";
+ signal: "elm,state,prev,popped,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "clipper";
+ transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7;
+ after: "show_finished";
}
- part {
- name : "page_gallery_icon_focus_bg";
- type : IMAGE;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- visible : 0;
- }
- description {
- state : "selected" 0.0;
- rel1.to : "page_gallery_icon";
- rel2.to : "page_gallery_icon";
- image.normal: "set_thumbnail_focus.#.png";
- }
+ program { name: "content_cur_popped";
+ signal: "elm,state,cur,popped,deferred";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "clipper";
+ transition: SIN_FAC NAVIFRAME_VIEW_POP_TRANS_TIME 1.7;
+ after: "popped_finished";
}
- }
- programs{
- program {
- name: "page_clicked";
- signal: "mouse,clicked,1";
- source: "bg_image";
- action: SIGNAL_EMIT "page_clicked" "edj";
+ program { name: "new_pushed";
+ signal: "elm,state,new,pushed";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "clipper";
}
-
- /* default selected */
- program {
- name : "default_icon_selected";
- signal : "default_icon_selected";
- source : "bg";
- action : STATE_SET "selected" 0.0;
- target : "page_default_wallpaper_icon_focus_bg_ef";
- target : "page_default_wallpaper_icon_focus_bg";
- after : "default_icon_selected_after";
+ program { name: "prev_popped";
+ signal: "elm,state,prev,popped";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "clipper";
}
- program {
- name : "default_icon_selected_after";
- action : STATE_SET "default" 0.0;
- target : "page_gallery_icon_focus_bg_ef";
- target : "page_gallery_icon_focus_bg";
+ program { name: "show_finished";
+ action: SIGNAL_EMIT "elm,action,show,finished" "";
}
- /* gallery selected */
- program {
- name : "gallery_icon_selected";
- signal : "gallery_icon_selected";
- source : "bg";
- action : STATE_SET "selected" 0.0;
- target : "page_gallery_icon_focus_bg_ef";
- target : "page_gallery_icon_focus_bg";
- after : "gallery_icon_selected_after";
+ program { name: "pushed_finished";
+ action: SIGNAL_EMIT "elm,action,pushed,finished" "";
}
- program {
- name : "gallery_icon_selected_after";
- action : STATE_SET "default" 0.0;
- target : "page_default_wallpaper_icon_focus_bg_ef";
- target : "page_default_wallpaper_icon_focus_bg";
+ program { name: "popped_finished";
+ action: SIGNAL_EMIT "elm,action,popped,finished" "";
}
- }
-}
-
-
-group { name: "wallpaper_page_lock_layout";
-
- images {
- image: "set_thumbnail_focus.#.png" COMP;
- image: "set_thumbnail_focus_ef.#.png" COMP;
- }
-
- parts {
- part { name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- }
- }
- part {
- name: "cliper";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- }
- }
- part { name: "bg_image";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- clip_to: "cliper";
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 1.0 1.0; to: "bg";}
- }
- }
- /*part { name: "text_help";
- type: TEXTBLOCK;
- effect : "TIZEN_SHADOW";
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed:1 1;
- visible: 1;
- rel1 { relative: 0.0 (720-456)/720; to: "bg";}
- rel2 { relative: 1.0 (720-456+36)/720; to: "bg";}
- text {
- style: style_default_and_gallery;
- align : 0.5 0.0;
- }
- }
- }*/
- part { name: "text_tap";
- type: TEXTBLOCK;
- effect : "TIZEN_SHADOW";
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed:1 1;
- visible: 1;
- rel1 { relative: 0.0 (720-456+36+14)/720; to: "bg";}
- rel2 { relative: 1.0 (720-456+36+14+36)/720; to: "bg";}
- text {
- style: style_default_and_gallery;
- align : 0.5 0.0;
- }
- }
- description {
- state : "hidden" 0.0;
- visible : 0;
- }
- }
- part { name: "page_right_top_padding";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 182 12;
- fixed: 1 1;
- visible: 0;
- rel1 { relative: 1.0 0.0; to: "bg_image";}
- rel2 { relative: 1.0 0.0; to: "bg_image";}
- align: 1.0 0.0;
- }
- }
- part { name: "page_lockscreen_icon";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 46 46;
- fixed: 1 1;
- visible: 1;
- rel1 { relative: 0.0 1.0; to: "page_right_top_padding";}
- rel2 { relative: 0.0 1.0; to: "page_right_top_padding";}
- align: 1.0 0.0;
- }
- }
- part { name: "page_lockscreen_and_home_spacer";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 24 46;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "page_lockscreen_icon";}
- rel2 { relative: 0.0 0.0; to: "page_lockscreen_icon";}
- align: 1.0 0.0;
- }
+ program { name: "visible";
+ signal: "elm,state,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "clipper";
}
- part { name: "page_home_icon";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 46 46;
- fixed: 1 1;
- visible: 1;
- rel1 { relative: 0.0 0.0; to: "page_lockscreen_and_home_spacer";}
- rel2 { relative: 0.0 0.0; to: "page_lockscreen_and_home_spacer";}
- align: 1.0 0.0;
- }
+ program { name: "invisible";
+ signal: "elm,state,invisible";
+ source: "elm";
+ action: STATE_SET "hidden" 0.0;
+ target: "clipper";
}
- part { name: "page_default_wallpaper_icon";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 141 141;
- fixed: 1 1;
- rel1 { relative: 0.5 0.5; to: "page_gallery_icon";}
- rel2 { relative: 0.5 0.5; to: "page_gallery_icon";}
- align: 0.5 0.5;
+ program { name: "title_show";
+ signal: "elm,state,title,show";
+ source: "elm";
+ script {
+ set_state(PART:"title_bg", "default", 0.0);
+ set_state(PART:"title_clipper", "default", 0.0);
+ if (get_int(title_left_btn_visible)) {
+ set_state(PART:"title_left_btn_bg", "visible", 0.0);
+ set_state(PART:"title_left_btn_right_padding", "visible", 0.0);
+ set_state(PART:"title_left_btn", "visible", 0.0);
+ }
+ else if (get_int(prev_btn_visible))
+ set_state(PART:"elm.swallow.prev_btn", "default", 0.0);
+ if (get_int(title_right_btn_visible)) {
+ set_state(PART:"title_right_btn_bg", "visible", 0.0);
+ set_state(PART:"title_right_btn_left_padding", "visible", 0.0);
+ set_state(PART:"title_right_btn", "visible", 0.0);
+ }
+ }
+ }
+ program { name: "title_show_trans";
+ signal: "elm,action,title,show";
+ source: "elm";
+ after: "title_show";
}
+ program { name: "title_hide";
+ signal: "elm,state,title,hide";
+ source: "elm";
+ script {
+ set_state(PART:"title_bg", "hidden", 0.0);
+ set_state(PART:"title_clipper", "hidden", 0.0);
+ set_state(PART:"title_left_btn_bg", "default", 0.0);
+ set_state(PART:"title_left_btn_right_padding", "default", 0.0);
+ set_state(PART:"title_left_btn", "default", 0.0);
+ set_state(PART:"title_right_btn_bg", "default", 0.0);
+ set_state(PART:"title_right_btn_left_padding", "default", 0.0);
+ set_state(PART:"title_right_btn", "default", 0.0);
+ set_state(PART:"elm.swallow.prev_btn", "hidden", 0.0);
+ }
+ }
+ program { name: "title_hide_trans";
+ signal: "elm,action,title,hide";
+ source: "elm";
+ after: "title_hide";
}
- part { name: "page_my_interests_icon";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 141 141;
- fixed: 1 1;
- rel1 { relative: 1.0 0.5; to: "page_gallery_icon";}
- rel2 { relative: 1.0 0.5; to: "page_gallery_icon";}
- align: 0.0 0.5;
+ program { name: "subtitle_show";
+ signal: "elm,state,subtitle,show";
+ source: "elm";
+ script {
+ set_state(PART:"elm.text.title", "subtitle_visible", 0.0);
}
}
- part { name: "page_gallery_icon";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 141 141;
- align : 0.5 1.0;
- fixed: 1 1;
- rel1 { relative: 0.5 1.0; to: "bg";}
- rel2 { relative: 0.5 1.0; to: "bg";}
-
+ program { name: "subtitle_hide";
+ signal: "elm,state,subtitle,hide";
+ source: "elm";
+ script {
+ set_state(PART:"elm.text.title", "default", 0.0);
}
}
-
- part {
- name : "page_default_wallpaper_icon_focus_bg_ef";
- type : IMAGE;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- visible : 0;
- }
- description {
- state : "selected" 0.0;
- rel1.to : "page_default_wallpaper_icon";
- rel2.to : "page_default_wallpaper_icon";
- image.normal: "set_thumbnail_focus_ef.#.png";
+ program { name: "prev_btn_show";
+ signal: "elm,state,prev_btn,show";
+ source: "elm";
+ script {
+ set_state(PART:"elm.swallow.prev_btn", "default", 0.0);
+ set_int(prev_btn_visible, 1);
}
}
- part {
- name : "page_default_wallpaper_icon_focus_bg";
- type : IMAGE;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- visible : 0;
- }
- description {
- state : "selected" 0.0;
- rel1.to : "page_default_wallpaper_icon";
- rel2.to : "page_default_wallpaper_icon";
- image.normal: "set_thumbnail_focus.#.png";
+ program { name: "prev_btn_hide";
+ signal: "elm,state,prev_btn,hide";
+ source: "elm";
+ script {
+ set_state(PART:"elm.swallow.prev_btn", "hidden", 0.0);
+ set_int(prev_btn_visible, 0);
}
}
- part {
- name : "page_gallery_icon_focus_bg_ef";
- type : IMAGE;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- visible : 0;
- }
- description {
- state : "selected" 0.0;
- rel1.to : "page_gallery_icon";
- rel2.to : "page_gallery_icon";
- image.normal: "set_thumbnail_focus_ef.#.png";
+ program { name: "title_left_btn_show";
+ signal: "elm,state,title_left_btn,show";
+ source: "elm";
+ script {
+ set_state(PART:"title_left_btn_bg", "visible", 0.0);
+ set_state(PART:"title_left_btn_right_padding", "visible", 0.0);
+ set_state(PART:"title_left_btn", "visible", 0.0);
+ set_state(PART:"elm.swallow.prev_btn", "hidden", 0.0);
+ set_int(title_left_btn_visible, 1);
+ set_int(prev_btn_visible, 0);
}
}
- part {
- name : "page_gallery_icon_focus_bg";
- type : IMAGE;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- visible : 0;
- }
- description {
- state : "selected" 0.0;
- rel1.to : "page_gallery_icon";
- rel2.to : "page_gallery_icon";
- image.normal: "set_thumbnail_focus.#.png";
+ program { name: "title_left_btn_hide";
+ signal: "elm,state,title_left_btn,hide";
+ source: "elm";
+ script {
+ set_state(PART:"title_left_btn_bg", "default", 0.0);
+ set_state(PART:"title_left_btn_right_padding", "default", 0.0);
+ set_state(PART:"title_left_btn", "default", 0.0);
+ set_int(title_left_btn_visible, 0);
+ set_state(PART:"elm.swallow.prev_btn", "default", 0.0);
+ set_int(prev_btn_visible, 1);
}
}
- part {
- name : "page_my_interests_icon_focus_bg_ef";
- type : IMAGE;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- visible : 0;
- }
- description {
- state : "selected" 0.0;
- rel1.to : "page_my_interests_icon";
- rel2.to : "page_my_interests_icon";
- image.normal: "set_thumbnail_focus_ef.#.png";
+ program { name: "title_right_btn_show";
+ signal: "elm,state,title_right_btn,show";
+ source: "elm";
+ script {
+ set_state(PART:"title_right_btn_bg", "visible", 0.0);
+ set_state(PART:"title_right_btn_left_padding", "visible", 0.0);
+ set_state(PART:"title_right_btn", "visible", 0.0);
+ set_int(title_right_btn_visible, 1);
}
}
- part {
- name : "page_my_interests_icon_focus_bg";
- type : IMAGE;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- visible : 0;
- }
- description {
- state : "selected" 0.0;
- rel1.to : "page_my_interests_icon";
- rel2.to : "page_my_interests_icon";
- image.normal: "set_thumbnail_focus.#.png";
+ program { name: "title_right_btn_hide";
+ signal: "elm,state,title_right_btn,hide";
+ source: "elm";
+ script {
+ set_state(PART:"title_right_btn_bg", "default", 0.0);
+ set_state(PART:"title_right_btn_left_padding", "default", 0.0);
+ set_state(PART:"title_right_btn", "default", 0.0);
+ set_int(title_right_btn_visible, 0);
}
}
- }
- programs{
- program {
- name: "page_clicked";
+ program { name: "title_clicked";
signal: "mouse,clicked,1";
- source: "bg_image";
- action: SIGNAL_EMIT "page_clicked" "edj";
- }
-
- /* default selected */
- program {
- name : "default_icon_selected";
- signal : "default_icon_selected";
- source : "bg";
- action : STATE_SET "selected" 0.0;
- target : "page_default_wallpaper_icon_focus_bg_ef";
- target : "page_default_wallpaper_icon_focus_bg";
- after : "default_icon_selected_after";
- }
- program {
- name : "default_icon_selected_after";
- action : STATE_SET "default" 0.0;
- target : "page_gallery_icon_focus_bg_ef";
- target : "page_gallery_icon_focus_bg";
- target : "page_my_interests_icon_focus_bg_ef";
- target : "page_my_interests_icon_focus_bg";
- }
- /* gallery selected */
- program {
- name : "gallery_icon_selected";
- signal : "gallery_icon_selected";
- source : "bg";
- action : STATE_SET "selected" 0.0;
- target : "page_gallery_icon_focus_bg_ef";
- target : "page_gallery_icon_focus_bg";
- after : "gallery_icon_selected_after";
- }
- program {
- name : "gallery_icon_selected_after";
- action : STATE_SET "default" 0.0;
- target : "page_default_wallpaper_icon_focus_bg_ef";
- target : "page_default_wallpaper_icon_focus_bg";
- target : "page_my_interests_icon_focus_bg_ef";
- target : "page_my_interests_icon_focus_bg";
- }
- /* my interest selected */
- program {
- name : "my_interests_icon_selected";
- signal : "my_interests_icon_selected";
- source : "bg";
- action : STATE_SET "selected" 0.0;
- target : "page_my_interests_icon_focus_bg_ef";
- target : "page_my_interests_icon_focus_bg";
- after : "my_interests_icon_selected_after";
- }
- program {
- name : "my_interests_icon_selected_after";
- action : STATE_SET "default" 0.0;
- target : "page_default_wallpaper_icon_focus_bg_ef";
- target : "page_default_wallpaper_icon_focus_bg";
- target : "page_gallery_icon_focus_bg_ef";
- target : "page_gallery_icon_focus_bg";
- }
-
- /* preview */
- program {
- name : "show_preview";
- signal : "show_preview";
- source : "preview";
- action : STATE_SET "default" 0.0;
- target : "text_tap";
- }
- program {
- name : "hide_preview";
- signal : "hide_preview";
- source : "preview";
- action : STATE_SET "hidden" 0.0;
- target : "text_tap";
+ source: "click_event_area";
+ script {
+ emit("elm,action,title,clicked", "");
+ }
}
- }
-}
-
-
-group { name: "home_icon";
-
- images {
- image: "Wallpapers_home_ic.png" COMP;
- image: "Wallpapers_home_ef.png" COMP;
- }
-
- parts {
- part { name: "icon";
- type: IMAGE;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {state: "default" 0.0;
- image.normal: "Wallpapers_home_ic.png";
- min: 40 40;
- max: 40 40;
- fixed:1 1;
- color_class: "AO007";
+ program { name: "change_to_landscape";
+ script {
+ if (!get_int(landscape_mode)) {
+ set_int(landscape_mode, 1);
+ }
}
- /*description {state: "lockscreen" 0.0;
- inherit: "default" 0.0;
- color_class: "AO008";
- }*/
}
- part { name: "effect";
- type: IMAGE;
- mouse_events: 0;
- repeat_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- image.normal: "Wallpapers_home_ef.png";
- min: 40 40;
- max: 40 40;
- fixed:1 1;
+ program { name: "change_to_portrait";
+ script {
+ if (get_int(landscape_mode)) {
+ set_int(landscape_mode, 0);
+ }
}
}
- }
- programs{
- program { name: "lockscreen_page";
- signal: "lockscreen_page";
+ program { name: "landscape_mode";
source: "elm";
- action: STATE_SET "lockscreen" 0.0;
- target: "icon";
+ signal: "elm,state,orient,90";
+ after: "change_to_landscape";
}
- program { name: "home_page";
- signal: "home_page";
+ program { name: "landscape_mode2";
source: "elm";
- action: STATE_SET "default" 0.0;
- target: "icon";
- }
- program {
- name: "home_icon_clicked";
- signal: "mouse,clicked,1";
- source: "icon";
- action: SIGNAL_EMIT "home_icon_clicked" "edj";
+ signal: "elm,state,orient,270";
+ after: "change_to_landscape";
}
- }
-}
-
-group { name: "lockscreen_icon";
-
- images {
- image: "Wallpapers_lock_ic.png" COMP;
- image: "Wallpapers_lock_ef.png" COMP;
- }
-
- parts {
- part { name: "icon";
- type: IMAGE;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {state: "default" 0.0;
- image.normal: "Wallpapers_lock_ic.png";
- min: 40 40;
- max: 40 40;
- fixed:1 1;
- color_class: "AO007";
- }
- /*description {state: "home" 0.0;
- inherit: "default" 0.0;
- color_class: "AO008";
- }*/
- }
- part { name: "effect";
- type: IMAGE;
- mouse_events: 0;
- repeat_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- image.normal: "Wallpapers_lock_ef.png";
- min: 40 40;
- max: 40 40;
- fixed:1 1;
- }
- }
- }
- programs{
- program { name: "home_page";
- signal: "home_page";
+ program { name: "portrait_mode";
source: "elm";
- action: STATE_SET "home" 0.0;
- target: "icon";
+ signal: "elm,state,orient,0";
+ after: "change_to_portrait";
}
- program { name: "lockscreen_page";
- signal: "lockscreen_page";
+ program { name: "portrait_mode2";
source: "elm";
- action: STATE_SET "default" 0.0;
- target: "icon";
- }
- program {
- name: "lock_icon_clicked";
- signal: "mouse,clicked,1";
- source: "icon";
- action: SIGNAL_EMIT "lock_icon_clicked" "edj";
+ signal: "elm,state,orient,180";
+ after: "change_to_portrait";
}
}
}
-group { name: "default_and_gallery_icon";
- images {
- image: "Wallpapers_bg.#.png" COMP;
- }
-
- parts {
- part {
- name : "bg";
- type : IMAGE;
- scale : 1;
- mouse_events : 1;
- repeat_events : 0;
- description {
- state : "default" 0.0;
- image.normal : "Wallpapers_bg.#.png";
- }
- }
- part {
- name : "cliper";
- type : RECT;
- scale : 1;
- mouse_events : 0;
- repeat_events : 1;
- description {state: "default" 0.0;
- min : 137 137;
- max : 137 137;
- fixed : 1 1;
- rel1 { relative: 0.5 0.5; to: "bg";}
- rel2 { relative: 0.5 0.5; to: "bg";}
- }
- }
- part {
- name : "default_bg";
- type : SWALLOW;
- scale : 1;
- mouse_events : 0;
- repeat_events : 1;
- clip_to: "cliper";
- description {
- state : "default" 0.0;
- }
- }
- part {
- name : "cover_bg";
- type : RECT;
- scale : 1;
- mouse_events : 0;
- repeat_events : 1;
- clip_to: "cliper";
- description {
- color_class : "AO009";
- }
- }
- part {
- name: "image";
- type: SWALLOW;
- scale: 1;
- mouse_events : 0;
- repeat_events : 1;
- clip_to: "cliper";
- description {
- state: "default" 0.0;
- }
- }
- part {
- name: "effect";
- type: SWALLOW;
- scale: 1;
- mouse_events : 0;
- repeat_events : 1;
- description {
- state: "default" 0.0;
- }
- }
- part { name: "text";
- type: TEXTBLOCK;
- effect : "TIZEN_SHADOW";
- mouse_events : 0;
- repeat_events : 1;
- scale: 1;
- description {state: "default" 0.0;
- color : LOCK_TEXT_COLOR;
- color2 : LOCK_TEXT_COLOR2;
- color3 : LOCK_TEXT_COLOR3;
- fixed:1 1;
- visible: 1;
- align : 0.5 1.0;
- rel1 { relative: 5/137 130/137; to: "image";}
- rel2 { relative: 132/137 130/137; to: "image";}
- text {
- style: style_default_and_gallery;
- min : 0 1;
- align : 0.5 1.0;
- }
- }
- }
- part { name: "press_effect";
- type: RECT;
- scale: 1;
- mouse_events : 0;
- repeat_events : 1;
- clip_to: "cliper";
- description { state: "default" 0.0;
- color : 0 0 0 0;
- }
- description {state: "pressed" 0.0;
- color_class: "AO011";
- }
- }
- }
- programs{
- program { name: "pressed";
- signal: "mouse,down,1";
- source: "bg";
- action: STATE_SET "pressed" 0.0;
- target: "press_effect";
- }
- program { name: "unpressed";
- signal: "mouse,up,1";
- source: "bg";
- action: STATE_SET "default" 0.0;
- target: "press_effect";
- }
- program {
- name : "clicked";
- signal : "mouse,clicked,1";
- source : "bg";
- action : SIGNAL_EMIT "default_and_gallery_icon" "clicked";
- }
- }
-}
-
-
diff --git a/res/resources/edje/popup-wallpaper.edc b/res/resources/edje/popup-wallpaper.edc
index b07859a..5b99a65 100644..100755
--- a/res/resources/edje/popup-wallpaper.edc
+++ b/res/resources/edje/popup-wallpaper.edc
@@ -1,9 +1,5 @@
/*
- * popup-wallpaper-efl
- *
- * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 20014-2015 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,12 +16,11 @@
*/
collections {
- base_scale: 1.8;
+ base_scale: 2.4;
+ #include "color_classes.edc"
#include "popup-wallpaper-macro.edc"
#include "popup-wallpaper-main-view.edc"
- #include "popup-color-theme-main-view.edc"
#include "mutiple-wallpaper.edc"
#include "gengrid_customized_theme.edc"
- #include "cp-wallpaper-main-view.edc"
}
diff --git a/res/resources/icons/core_icon_back.png b/res/resources/icons/core_icon_back.png
new file mode 100755
index 0000000..baf1df0
--- /dev/null
+++ b/res/resources/icons/core_icon_back.png
Binary files differ
diff --git a/res/resources/icons/home_wallpapaer_title_bg.#.png b/res/resources/icons/home_wallpapaer_title_bg.#.png
new file mode 100755
index 0000000..12a637c
--- /dev/null
+++ b/res/resources/icons/home_wallpapaer_title_bg.#.png
Binary files differ