summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeonghyun Yun <jh0506.yun@samsung.com>2018-07-12 10:18:10 +0900
committerJeonghyun Yun <jh0506.yun@samsung.com>2018-07-12 10:23:15 +0900
commit60467ff50da3144675b40b7cf8c20f0f5338f57d (patch)
tree331c129a3b68c2db142ff67438fa5fd1a837ce4a
parent8632ae92e642962311a6423e7c131a743f5fb900 (diff)
downloadefl-theme-tizen-mobile-60467ff50da3144675b40b7cf8c20f0f5338f57d.tar.gz
efl-theme-tizen-mobile-60467ff50da3144675b40b7cf8c20f0f5338f57d.tar.bz2
efl-theme-tizen-mobile-60467ff50da3144675b40b7cf8c20f0f5338f57d.zip
Change-Id: If8faaa6684f24c94d19e11f3dde02cf3deebb7e3 Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
-rw-r--r--mobile/HD-inc.edc16
-rw-r--r--mobile/color_classes.edc9
-rw-r--r--mobile/elm-sharp-theme-mobile.edc3
-rw-r--r--mobile/widgets/progressbar.edc19
-rw-r--r--mobile/widgets_csharp/popup.edc2338
5 files changed, 26 insertions, 2359 deletions
diff --git a/mobile/HD-inc.edc b/mobile/HD-inc.edc
index 77a85fad..0a9bc890 100644
--- a/mobile/HD-inc.edc
+++ b/mobile/HD-inc.edc
@@ -289,22 +289,6 @@
#define TOOLBAR_NAVI_ICON_ARROW_HEIGHT_INC 70
#define TOOLBAR_NAVI_DIVIDER_HEIGHT_INC 2
-//Csharp Tabbar style
-#define TABBAR_SHARP_COMMON_DEFAULT_ITEM_SIZE_INC 90 80;
-#define TABBAR_SHARP_COMMON_LANDSCAPE_DEFAULT_ITEM_SIZE_INC 160 80;
-#define TABBAR_SHARP_COMMON_SCROLL_ITEM_SIZE_INC 210 80;
-#define TABBAR_SHARP_COMMON_LANDSCAPE_SCROLL_ITEM_SIZE_INC 270 80;
-
-#define TABBAR_SHARP_NO_TITLE_DEFAULT_ITEM_SIZE_INC 90 110;
-#define TABBAR_SHARP_NO_TITLE_LANDSCAPE_DEFAULT_ITEM_SIZE_INC 160 110;
-#define TABBAR_SHARP_NO_TITLE_SCROLL_ITEM_SIZE_INC 210 110;
-#define TABBAR_SHARP_NO_TITLE_LANDSCAPE_SCROLL_ITEM_SIZE_INC 270 110;
-
-#define TABBAR_SHARP_NO_TITLE_ICON_ITEM_SIZE_INC 90 144;
-#define TABBAR_SHARP_NO_TITLE_ICON_LANDSCAPE_ITEM_SIZE_INC 160 110;
-#define TABBAR_SHARP_NO_TITLE_ICON_SCROLL_ITEM_SIZE_INC 210 144;
-#define TABBAR_SHARP_NO_TITLE_ICON_LANDSCAPE_SCROLL_ITEM_SIZE_INC 270 110;
-
//****************************************************************************//
// Genlist
//****************************************************************************//
diff --git a/mobile/color_classes.edc b/mobile/color_classes.edc
index 779225b6..063ea973 100644
--- a/mobile/color_classes.edc
+++ b/mobile/color_classes.edc
@@ -1726,12 +1726,21 @@ color_classes {
color_class { "progressbar/pending/text_status";
color: 115 115 115 255;
}
+ color_class { "progressbar/process_large/bg";
+ color: 0 0 0 0;
+ }
color_class { "progressbar/process_large/bar";
color: 61 185 204 255;
}
+ color_class { "progressbar/process_medium/bg";
+ color: 0 0 0 0;
+ }
color_class { "progressbar/process_medium/bar";
color: 61 185 204 255;
}
+ color_class { "progressbar/process_small/bg";
+ color: 0 0 0 0;
+ }
color_class { "progressbar/process_small/bar";
color: 61 185 204 255;
}
diff --git a/mobile/elm-sharp-theme-mobile.edc b/mobile/elm-sharp-theme-mobile.edc
index 539c6c4d..9021fa44 100644
--- a/mobile/elm-sharp-theme-mobile.edc
+++ b/mobile/elm-sharp-theme-mobile.edc
@@ -108,7 +108,7 @@ collections {
#include "widgets/check.edc"
#include "widgets/radio.edc"
#include "widgets/index.edc"
-//#include "widgets/popup.edc"
+#include "widgets/popup.edc"
#include "widgets/multibuttonentry.edc"
#include "widgets/win.edc"
#include "widgets/hover.edc"
@@ -116,7 +116,6 @@ collections {
#include "widgets/floatingbutton.edc"
#include "widgets_csharp/layout.edc"
-#include "widgets_csharp/popup.edc"
color_classes {
color_class {
diff --git a/mobile/widgets/progressbar.edc b/mobile/widgets/progressbar.edc
index 9a7af3cf..5887c586 100644
--- a/mobile/widgets/progressbar.edc
+++ b/mobile/widgets/progressbar.edc
@@ -1262,11 +1262,10 @@
}
}
rect { "bg";
+ nomouse;
scale;
desc { "default";
- rel1.to: "clipper";
- rel2.to: "clipper";
- color: 0 0 0 0;
+ color_class: "progressbar/process_large/bg";
}
}
rect { "clipper";
@@ -1343,6 +1342,13 @@
inherit: "elm/progressbar/horizontal/process_large";
data.item: "vector_ux" "process_medium";
parts {
+ rect { "bg";
+ nomouse;
+ scale;
+ desc { "default";
+ color_class: "progressbar/process_medium/bg";
+ }
+ }
rect { "clipper";
scale;
desc { "default";
@@ -1373,6 +1379,13 @@
inherit: "elm/progressbar/horizontal/process_large";
data.item: "vector_ux" "process_small";
parts {
+ rect { "bg";
+ nomouse;
+ scale;
+ desc { "default";
+ color_class: "progressbar/process_small/bg";
+ }
+ }
rect { "clipper";
scale;
desc { "default";
diff --git a/mobile/widgets_csharp/popup.edc b/mobile/widgets_csharp/popup.edc
deleted file mode 100644
index d61d1c9b..00000000
--- a/mobile/widgets_csharp/popup.edc
+++ /dev/null
@@ -1,2338 +0,0 @@
-/*
- * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
- * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
- /* notify */
-
-group { "elm/notify/event/default";
- inherit_only: 1;
-
- parts {
- }
-
- programs {
- /* Program for visible state */
- program { "visible";
- signal: "elm,state,visible";
- source: "elm";
- after: "on_visible";
- }
- /* Program for show animation */
- program { "show_animation";
- signal: "elm,state,show,animation";
- source: "elm";
- after: "on_show_animation";
- }
- /* Program for show animation */
- program { "show";
- signal: "show";
- source: "";
- after: "on_show";
- }
- /* Program for hide animation */
- program { "hide";
- signal: "elm,state,hide";
- source: "elm";
- after: "on_hide";
- }
- program { "orient_90";
- signal: "elm,state,orient,90";
- source: "elm";
- after: "on_orient_90";
- }
- program { "orient_270";
- signal: "elm,state,orient,270";
- source: "elm";
- after: "on_orient_270";
- }
- program { "orient_0";
- signal: "elm,state,orient,0";
- source: "elm";
- after: "on_orient_0";
- }
- program { "orient_180";
- signal: "elm,state,orient,180";
- source: "elm";
- after: "on_orient_180";
- }
- }
-}
-
-group { "elm/notify/block_events/event/default";
- inherit_only: 1;
-
- parts {
- image { "event";
- mouse;
- desc { "default";
- color: 0 0 0 0;
- rel.to: "base";
- }
- }
- }
-
- programs {
- /* Program for visible state */
- program { "visible";
- signal: "elm,state,visible";
- source: "elm";
- after: "on_visible";
- }
- /* Program for show animation */
- program { "show_animation";
- signal: "elm,state,show,animation";
- source: "elm";
- after: "on_show_animation";
- }
- /* Program for show animation */
- program { "show";
- signal: "show";
- source: "";
- after: "on_show";
- }
- /* Program for hide animation */
- program { "hide";
- signal: "elm,state,hide";
- source: "elm";
- after: "on_hide";
- }
- /* Program for clicked event */
- program { "clicked";
- signal: "mouse,clicked,1";
- source: "event";
- after: "on_clicked";
- }
- program { "orient_90";
- signal: "elm,state,orient,90";
- source: "elm";
- after: "on_orient_90";
- }
- program { "orient_270";
- signal: "elm,state,orient,270";
- source: "elm";
- after: "on_orient_270";
- }
- program { "orient_0";
- signal: "elm,state,orient,0";
- source: "elm";
- after: "on_orient_0";
- }
- program { "orient_180";
- signal: "elm,state,orient,180";
- source: "elm";
- after: "on_orient_180";
- }
- }
-}
-
-group { "elm/popup/base/event/default";
- inherit_only: 1;
-
- parts {
- }
-
- programs {
- program { "visible_subtitle_text";
- signal: "elm,state,subtitle,text,visible";
- source: "elm";
- after: "on_visible_subtitle_text";
- }
- program { "hidden_subtitle_text";
- signal: "elm,state,subtitle,text,hidden";
- source: "elm";
- after: "on_hidden_subtitle_text";
- }
- program { "visible_title_area";
- signal: "elm,state,title_area,visible";
- source: "elm";
- after: "on_visible_title_area";
- }
- program { "hidden_title_area";
- signal: "elm,state,title_area,hidden";
- source: "elm";
- after: "on_hidden_title_area";
- }
- program { "visible_action_area";
- signal: "elm,state,action_area,visible";
- source: "elm";
- after: "on_visible_action_area";
- }
- program { "hidden_action_area";
- signal: "elm,state,action_area,hidden";
- source: "elm";
- after: "on_hidden_action_area";
- }
- program { "visible_text";
- signal: "elm,state,text,visible";
- source: "elm";
- after: "on_visible_text";
- }
- program { "show";
- signal: "show";
- source: "";
- after: "on_show";
- }
- program { "hide";
- signal: "elm,state,hide";
- source: "elm";
- after: "on_hide";
- }
- program { "orient_0";
- signal: "elm,state,orient,0";
- source: "elm";
- after: "on_orient_0";
- }
- program { "orient_90";
- signal: "elm,state,orient,90";
- source: "elm";
- after: "on_orient_90";
- }
- program { "orient_180";
- signal: "elm,state,orient,180";
- source: "elm";
- after: "on_orient_180";
- }
- program { "orient_270";
- signal: "elm,state,orient,270";
- source: "elm";
- after: "on_orient_270";
- }
- program { "show_access_highlight";
- signal: "elm,action,access_highlight,show";
- source: "elm";
- after: "on_show_access_highlight";
- }
- program { "hide_access_highlight";
- signal: "elm,action,access_highlight,hide";
- source: "elm";
- after: "on_hide_access_highlight";
- }
- }
-}
-
-group { "elm/popup/content/event/default";
- inherit_only: 1;
-
- parts {
- }
-
- programs {
- program { "orient_0";
- signal: "elm,state,orient,0";
- source: "elm";
- after: "on_orient_0";
- }
- program { "orient_90";
- signal: "elm,state,orient,90";
- source: "elm";
- after: "on_orient_90";
- }
- program { "orient_180";
- signal: "elm,state,orient,180";
- source: "elm";
- after: "on_orient_180";
- }
- program { "orient_270";
- signal: "elm,state,orient,270";
- source: "elm";
- after: "on_orient_270";
- }
- }
-}
-
-group { "elm/notify/popup/template";
- inherit_only: 1;
- nomouse;
-
- inherit: "elm/notify/event/default";
-
- parts {
- /* Base part for notify */
- spacer { "base";
- desc { "default";
- }
- }
- /* Default swallow part */
- swallow { "elm.swallow.content";
- mouse;
- desc { "default";
- }
- }
- /* Block mouse event during show animation */
- rect { "block";
- desc { "default";
- }
- desc { "end";
- }
- }
- }
-
- programs {
- /* Program for visible state */
- program { "on_visible";
- }
- /* Program for show animation */
- program { "on_show_animation";
- }
- /* Program for show animation */
- program { "on_show";
- }
- /* Program for hide animation */
- program { "on_hide";
- }
- program { "on_orient_90";
- }
- program { "on_orient_270";
- }
- program { "on_orient_0";
- }
- program { "on_orient_180";
- }
- }
-}
-
-group { "elm/notify/block_events/template";
- inherit_only: 1;
- nomouse;
-
- inherit: "elm/notify/block_events/event/default";
-
- parts {
- /* Base part for block_events */
- spacer { "base";
- desc { "default";
- }
- }
- /* Background part to block screen */
- image { "block_events_color";
- desc { "default";
- }
- }
- }
-
- programs {
- /* Program for visible state */
- program { "on_visible";
- }
- /* Program for show animation */
- program { "on_show_animation";
- }
- /* Program for show animation */
- program { "on_show";
- }
- /* Program for hide animation */
- program { "on_hide";
- }
- /* Program for clicked event */
- program { "on_clicked";
- }
- program { "on_orient_90";
- }
- program { "on_orient_270";
- }
- program { "on_orient_0";
- }
- program { "on_orient_180";
- }
- }
-}
-
-group { "elm/popup/base/template";
- inherit_only: 1;
- nomouse;
-
- parts {
- /* Base part for popup */
- spacer { "base";
- desc { "default";
- }
- }
- /* Background part for popup */
- rect { "bg";
- desc { "default";
- }
- }
- /* Swallow part for popup */
- swallow { "elm.swallow.content";
- mouse;
- desc { "default";
- }
- }
- }
-
- programs {
- /* Program for visible subtitle */
- program { "on_visible_subtitle_text";
- }
- /* Program for hidden subtitle */
- program { "on_hidden_subtitle_text";
- }
- /* Program for visible title area */
- program { "on_visible_title_area";
- }
- /* Program for hidden title area */
- program { "on_hidden_title_area";
- }
- /* Program for visible action area */
- program { "on_visible_action_area";
- }
- /* Program for hidden action area */
- program { "on_hidden_action_area";
- }
- /* Program for visible text */
- program { "on_visible_text";
- }
- /* Program for popup show event */
- program { "on_show";
- }
- /* Program for popup hide event */
- program { "on_hide";
- }
- /* Program for orient 0 degree */
- program { "on_orient_0";
- }
- /* Program for orient 90 degree */
- program { "on_orient_90";
- }
- /* Program for orient 180 degree */
- program { "on_orient_180";
- }
- /* Program for orient 270 degree */
- program { "on_orient_270";
- }
- /* Program for show access highlight */
- program { "on_show_access_highlight";
- }
- /* Program for hide access highlight */
- program { "on_hide_access_highlight";
- }
- }
-}
-
-group { "elm/popup/content/template";
- inherit_only: 1;
- nomouse;
-
- inherit: "elm/popup/content/event/default";
-
- parts {
- /* Base part for popup content object */
- spacer { "base";
- desc { "default";
- }
- }
- /* Swallow part for popup content object */
- swallow { "elm.swallow.conent";
- mouse;
- desc { "default";
- }
- }
- }
-
- programs {
- /* Program for orient 0 degree */
- program { "on_orient_0";
- }
- /* Program for orient 90 degree */
- program { "on_orient_90";
- }
- /* Program for orient 180 degree */
- program { "on_orient_180";
- }
- /* Program for orient 270 degree */
- program { "on_orient_270";
- }
- }
-}
-
-group { "elm/popup/buttons/template";
- inherit_only: 1;
- nomouse;
-
- parts {
- /* Base part for button area */
- spacer { "base";
- desc { "default";
- }
- }
- /* Left padding for button area */
- spacer { "padding_left_btn";
- desc { "default";
- }
- }
- /* Right padding for button area */
- spacer { "padding_right_btn";
- desc { "default";
- }
- }
- /* Swallow part for button */
- swallow { "actionbtn1";
- mouse;
- desc { "default";
- }
- }
- }
-}
-
-group { "elm/label/base/popup/template";
- inherit_only: 1;
-
- parts {
- /* Textblock part for popup label */
- textblock { "elm.text";
- desc { "default";
- }
- }
- }
-}
-
-group { "elm/notify/bottom/popup/default";
- alias: "elm/notify/bottom/popup";
- alias: "elm/notify/bottom/popup/transparent";
- alias: "elm/notify/bottom/transparent";
- inherit: "elm/notify/event/default";
- nomouse;
-
- data.item: "hide_finished_signal" "on";
-
- parts {
- spacer { "base";
- desc { "default";
- }
- }
- swallow { "elm.swallow.content";
- mouse;
- clip: "clipper";
- desc { "default";
- rel.to: "base";
- align: 0.5 0.75;
- fixed: 1 1;
- }
- desc { "end";
- inherit: "default";
- align: 0.5 1.0;
- }
- }
- rect { "block";
- desc { "default";
- rel.to: "elm.swallow.content";
- color: 0 0 0 0;
- vis;
- }
- desc { "end";
- inherit: "default";
- hid;
- }
- }
- rect { "clipper";
- desc { "default";
- rel.to: "elm.swallow.content";
- color: 255 255 255 0;
- }
- desc { "end";
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- }
-
- programs {
- program { "on_visible";
- action: STATE_SET "end";
- target: "elm.swallow.content";
- target: "clipper";
- target: "block";
- }
- program { "on_show_animation";
- after: "show_start";
- }
- program { "on_show";
- after: "show_start";
- }
- program { "show_start";
- action: STATE_SET "default";
- target: "elm.swallow.content";
- target: "clipper";
- target: "block";
- after: "show_animation_start";
- }
- program { "show_animation_start";
- action: STATE_SET "end";
- transition: GLIDE_EASE_OUT(0.15);
- target: "elm.swallow.content";
- target: "clipper";
- target: "block";
- after: "show_finished";
- }
- program { "show_finished";
- action: SIGNAL_EMIT "elm,action,show,finished" "";
- }
- program { "on_hide";
- transition: GLIDE_EASE_OUT(0.15);
- action: STATE_SET "default";
- target: "elm.swallow.content";
- target: "clipper";
- after: "hide_finished";
- }
- program { "hide_finished";
- action: SIGNAL_EMIT "elm,action,hide,finished" "elm";
- }
-
- program { "on_orient_90";
- }
- program { "on_orient_270";
- }
- program { "on_orient_0";
- }
- program { "on_orient_180";
- }
- }
-}
-
-group { "elm/notify/center/popup/default";
- alias: "elm/notify/center/popup";
- alias: "elm/notify/center/popup/transparent";
- alias: "elm/notify/center/transparent";
- inherit: "elm/notify/event/default";
- nomouse;
-
- data.item: "hide_finished_signal" "on";
-
- parts {
- spacer { "base";
- desc { "default";
- }
- }
- swallow { "elm.swallow.content";
- mouse;
- clip: "clipper";
- desc { "default";
- rel.to: "base";
- fixed: 1 1;
- }
- desc { "end";
- inherit: "default";
- }
- }
- rect { "block";
- desc { "default";
- rel.to: "elm.swallow.content";
- color: 0 0 0 0;
- vis;
- }
- desc { "end";
- inherit: "default";
- hid;
- }
- }
- rect { "clipper";
- desc { "default";
- rel.to: "elm.swallow.content";
- color: 255 255 255 0;
- }
- desc { "end";
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- }
-
- programs {
- program { "on_visible";
- action: STATE_SET "end";
- target: "elm.swallow.content";
- target: "clipper";
- target: "block";
- }
- program { "on_show_animation";
- after: "show_start";
- }
- program { "on_show";
- after: "show_start";
- }
- program { "show_start";
- action: STATE_SET "default";
- target: "elm.swallow.content";
- target: "clipper";
- target: "block";
- after: "show_animation_start";
- }
- program { "show_animation_start";
- action: STATE_SET "end";
- transition: GLIDE_EASE_OUT(0.15);
- target: "elm.swallow.content";
- target: "clipper";
- target: "block";
- after: "show_finished";
- }
- program { "show_finished";
- action: SIGNAL_EMIT "elm,action,show,finished" "";
- }
- program { "on_hide";
- action: SIGNAL_EMIT "elm,action,hide,finished" "elm";
- }
-
- program { "on_orient_90";
- }
- program { "on_orient_270";
- }
- program { "on_orient_0";
- }
- program { "on_orient_180";
- }
- }
-}
-
-#define NOTIFY_DEFAULT(direction, align_start_x, align_start_y, align_end_x, align_end_y) \
-group { "elm/notify/"direction"/popup/default"; \
- alias: "elm/notify/"direction"/popup"; \
- alias: "elm/notify/"direction"/popup/transparent"; \
- alias: "elm/notify/"direction"/transparent"; \
- inherit: "elm/notify/bottom/popup/default"; \
- nomouse; \
- parts { \
- swallow { "elm.swallow.content"; \
- mouse; \
- desc { "default"; \
- align: align_start_x align_start_y; \
- } \
- desc { "end"; \
- align: align_end_x align_end_y; \
- } \
- } \
- } \
-}
-
-NOTIFY_DEFAULT( "top", 0.5, 1.0, 0.5, 0.0); /* "elm/notify/top/popup/default" */
-NOTIFY_DEFAULT( "left", 1.0, 0.5, 0.0, 0.5); /* "elm/notify/left/popup/default" */
-NOTIFY_DEFAULT( "right", 0.0, 0.5, 1.0, 0.5); /* "elm/notify/right/popup/default" */
-NOTIFY_DEFAULT( "top_left", 1.0, 1.0, 0.0, 0.0); /* "elm/notify/top_left/popup/default" */
-NOTIFY_DEFAULT( "top_right", 0.0, 1.0, 1.0, 0.0); /* "elm/notify/top_right/popup/default" */
-NOTIFY_DEFAULT( "bottom_left", 1.0, 0.0, 0.0, 1.0); /* "elm/notify/bottom_left/popup/default" */
-NOTIFY_DEFAULT("bottom_right", 0.0, 0.0, 1.0, 1.0); /* "elm/notify/bottom_right/popup/default" */
-
-#define NOTIFY_THEMEBG(direction, align_x, align_y) \
-group { "elm/notify/"direction"/popup/theme_bg"; \
- inherit: "elm/notify/"direction"/popup/default"; \
- nomouse; \
- images { \
- image: "core_theme_bg_01.png" COMP; \
- } \
- parts { \
- image { "mesh_bg"; \
- scale; \
- after: "base"; \
- clip: "clip"; \
- desc { "default"; \
- min: NOTIFY_THEME_BG_DEFAULT_MIN_INC; \
- fixed: 1 1; \
- align: align_x align_y; \
- image.normal: "core_theme_bg_01.png"; \
- } \
- } \
- rect { "clip"; \
- scale; \
- clip: "clipper"; \
- desc { "default"; \
- rel.to: "elm.swallow.content"; \
- } \
- desc { "landscape"; \
- inherit: "default"; \
- max: NOTIFY_THEME_BG_CLIP_MAX_INC; \
- } \
- } \
- } \
-\
- programs { \
- program { "on_orient_90"; \
- after: "landscape_mode"; \
- } \
- program { "on_orient_270"; \
- after: "landscape_mode"; \
- } \
- program { "on_orient_0"; \
- after: "portrait_mode"; \
- } \
- program { "on_orient_180"; \
- after: "portrait_mode"; \
- } \
- program { "landscape_mode"; \
- action: STATE_SET "landscape" 0.0; \
- target: "clip"; \
- } \
- program { "portrait_mode"; \
- action: STATE_SET "default" 0.0; \
- target: "clip"; \
- } \
- } \
-}
-
-NOTIFY_THEMEBG( "top", 0.5, 0.0); /* "elm/notify/top/popup/theme_bg" */
-NOTIFY_THEMEBG( "bottom", 0.5, 1.0); /* "elm/notify/bottom/popup/theme_bg" */
-NOTIFY_THEMEBG( "left", 0.0, 0.5); /* "elm/notify/left/popup/theme_bg" */
-NOTIFY_THEMEBG( "right", 1.0, 0.5); /* "elm/notify/right/popup/theme_bg" */
-NOTIFY_THEMEBG( "center", 0.5, 0.5); /* "elm/notify/center/popup/theme_bg" */
-NOTIFY_THEMEBG( "top_left", 0.0, 0.0); /* "elm/notify/top_left/popup/theme_bg" */
-NOTIFY_THEMEBG( "top_right", 1.0, 0.0); /* "elm/notify/top_right/popup/theme_bg" */
-NOTIFY_THEMEBG( "bottom_left", 0.0, 1.0); /* "elm/notify/bottom_left/popup/theme_bg" */
-NOTIFY_THEMEBG("bottom_right", 1.0, 1.0); /* "elm/notify/bottom_right/popup/theme_bg" */
-
-group { "elm/notify/center/popup/toast";
- alias: "elm/notify/center/toast";
- inherit: "elm/notify/event/default";
- nomouse;
-
- data.item: "hide_finished_signal" "on";
-
- parts {
- spacer { "base";
- desc { "default";
- }
- }
- spacer { "padding_vi";
- scale;
- desc { "default";
- rel.to: "base";
- rel1.relative: 0.0 1.0;
- align: 0.5 0.0;
- min: 0 POPUP_TOAST_VI_INC;
- fixed: 1 1;
- }
- desc { "end";
- inherit: "default";
- min: 0 0;
- }
- }
- swallow { "elm.swallow.content";
- mouse;
- clip: "clipper";
- desc { "default";
- rel1.to: "base";
- rel2.to: "padding_vi";
- align: 0.5 0.5;
- fixed: 1 1;
- }
- }
- rect { "block";
- desc { "default";
- rel.to: "elm.swallow.content";
- color: 0 0 0 0;
- vis;
- }
- desc { "end";
- inherit: "default";
- hid;
- }
- }
- rect { "clipper";
- desc { "default";
- rel.to: "elm.swallow.content";
- color: 255 255 255 0;
- }
- desc { "end";
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- }
-
- programs {
- program { "on_visible";
- action: STATE_SET "end";
- target: "padding_vi";
- target: "clipper";
- target: "block";
- }
- program { "on_show_animation";
- after: "show_start";
- }
- program { "on_show";
- after: "show_start";
- }
- program { "show_start";
- action: STATE_SET "default";
- target: "padding_vi";
- target: "clipper";
- target: "block";
- after: "show_animation_start";
- }
- program { "show_animation_start";
- action: STATE_SET "end";
- transition: GLIDE_EASE_OUT(0.25);
- target: "padding_vi";
- target: "clipper";
- target: "block";
- after: "show_finished";
- }
- program { "show_finished";
- action: SIGNAL_EMIT "elm,action,show,finished" "";
- }
- program { "on_hide";
- action: STATE_SET "default";
- transition: GLIDE_EASE_OUT(0.25);
- target: "padding_vi";
- target: "clipper";
- target: "block";
- after: "hide_finished";
- }
- program { "hide_finished";
- action: SIGNAL_EMIT "elm,action,hide,finished" "elm";
- }
-
- program { "on_orient_90";
- }
- program { "on_orient_270";
- }
- program { "on_orient_0";
- }
- program { "on_orient_180";
- }
- }
-}
-
-#define NOTIFY_TOAST(direction, align_x, align_y) \
-group { "elm/notify/"direction"/popup/toast"; \
- alias: "elm/notify/"direction"/toast"; \
- inherit: "elm/notify/center/popup/toast"; \
- nomouse; \
-\
- parts { \
- swallow { "elm.swallow.content"; \
- desc { "default"; \
- align: align_x align_y; \
- } \
- } \
- } \
-}
-
-NOTIFY_TOAST( "top", 0.5, 0.0); /* "elm/notify/top/popup/toast" */
-NOTIFY_TOAST( "bottom", 0.5, 1.0); /* "elm/notify/bottom/popup/toast" */
-NOTIFY_TOAST( "left", 0.0, 0.5); /* "elm/notify/left/popup/toast" */
-NOTIFY_TOAST( "right", 1.0, 0.5); /* "elm/notify/right/popup/toast" */
-NOTIFY_TOAST( "top_left", 0.0, 0.0); /* "elm/notify/top_left/popup/toast" */
-NOTIFY_TOAST( "top_right", 1.0, 0.0); /* "elm/notify/top_right/popup/toast" */
-NOTIFY_TOAST( "bottom_left", 0.0, 1.0); /* "elm/notify/bottom_left/popup/toast" */
-NOTIFY_TOAST("bottom_right", 1.0, 1.0); /* "elm/notify/bottom_right/popup/toast" */
-
-
-/* notify/block_events */
-
-group { "elm/notify/block_events/default";
-}
-
-group { "elm/notify/block_events/popup/default";
- alias: "elm/notify/block_events/popup";
- alias: "elm/notify/block_events/popup/theme_bg";
- inherit: "elm/notify/block_events/event/default";
- nomouse;
-
- images {
- image: "core_theme_bg_dim.png" COMP;
- }
-
- parts {
- spacer { "base";
- desc { "default";
- }
- }
- image { "block_events_color";
- scale;
- clip_to: "clipper_block_events_color";
- desc { "default";
- image.normal: "core_theme_bg_dim.png";
- min: 0 NOTIFY_PORTRAIT_HEIGHT;
- fixed: 0 1;
- align: 0.5 0.0;
- rel.to: "base";
- }
- desc { "landscape";
- inherit: "default";
- min: 0 NOTIFY_LANDSCAPE_HEIGHT;
- }
- }
- rect { "clipper_block_events_color";
- desc { "default";
- rel.to: "block_events_color";
- color: 0 0 0 0;
- }
- desc { "show";
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- image { "event";
- after: "clipper_block_events_color";
- }
- }
-
- programs {
- program { "on_visible";
- action: STATE_SET "show";
- target: "clipper_block_events_color";
- }
- program { "on_show_animation";
- after: "show_start";
- }
- program { "on_show";
- after: "show_start";
- }
- program { "show_start";
- action: STATE_SET "default";
- target: "clipper_block_events_color";
- after: "show_animation_start";
- }
- program { "show_animation_start";
- action: STATE_SET "show";
- transition: GLIDE_EASE_OUT(0.15);
- target: "clipper_block_events_color";
- }
- program { "on_hide";
- action: STATE_SET "default";
- transition: GLIDE_EASE_OUT(0.15);
- target: "clipper_block_events_color";
- after: "hide_finished";
- }
- program { "hide_finished";
- action: SIGNAL_EMIT "elm,action,hide,finished" "elm";
- }
- program { "on_clicked";
- action: SIGNAL_EMIT "elm,action,click" "elm";
- }
- program { "on_orient_90";
- after: "landscape_mode";
- }
- program { "on_orient_270";
- after: "landscape_mode";
- }
- program { "on_orient_0";
- after: "portrait_mode";
- }
- program { "on_orient_180";
- after: "portrait_mode";
- }
- program { "landscape_mode";
- action: STATE_SET "landscape" 0.0;
- target: "block_events_color";
- }
- program { "portrait_mode";
- action: STATE_SET "default" 0.0;
- target: "block_events_color";
- }
- }
-}
-
-group { "elm/notify/block_events/popup/transparent";
- alias: "elm/notify/block_events/transparent";
- alias: "elm/notify/block_events/popup/toast";
- alias: "elm/notify/block_events/toast";
- inherit: "elm/notify/block_events/event/default";
- nomouse;
-
- parts {
- spacer { "base";
- desc { "default";
- }
- }
- rect { "block_events";
- mouse;
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- }
- image { "event";
- after: "block_events";
- }
- }
-
- programs {
- program { "on_clicked";
- action: SIGNAL_EMIT "elm,action,click" "elm";
- }
- program { "on_visible";
- }
- program { "on_show_animation";
- }
- program { "on_show";
- }
- program { "on_hide";
- }
- program { "on_orient_90";
- }
- program { "on_orient_270";
- }
- program { "on_orient_0";
- }
- program { "on_orient_180";
- }
- }
-}
-
-/* popup/base */
-
-group { "elm/popup/base/default";
- alias: "elm/popup/base/transparent";
- inherit: "elm/popup/base/event/default";
- nomouse;
-
- data {
- item: "focus_highlight" "on";
- item: "default_orient" "2"; //top, center:1 bottom:2
- item: "title_height" POPUP_TITLE_AREA_HEIGHT;
- item: "popup_outside_pad" POPUP_OUTSIDE_PADDING;
- }
-
- parts {
- spacer { "base";
- scale;
- desc { "default";
- min: POPUP_BASE_DEFAULT_BASE_DEFAULT_MIN_INC;
- max: POPUP_BASE_DEFAULT_BASE_DEFAULT_MAX_INC;
- }
- desc { "landscape";
- min: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MIN_INC;
- max: POPUP_BASE_DEFAULT_BASE_LANDSCAPE_MAX_INC;
- }
- }
- rect { "bg";
- desc { "default";
- rel.to: "elm.swallow.content";
- color_class: "popup/default/bg_content";
- }
- }
- rect { "access.outline";
- mouse;
- repeat;
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- fixed: 1 1;
- }
- }
- rect { "elm.bg.title";
- mouse;
- scale;
- desc { "default";
- rel.to: "base";
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- min: 0 0;
- fixed: 1 1;
- color_class: "popup/default/bg_title";
- }
- desc { "visible";
- inherit: "default";
- min: POPUP_BASE_DEFAULT_TITLE_DEFAULT_MIN_INC;
- }
- desc { "subtitle_visible";
- inherit: "default";
- min: POPUP_BASE_DEFAULT_TITLE_SUB_DEFAULT_MIN_INC;
- }
- }
- spacer { "padding_title_top_left";
- scale;
- desc { "default";
- rel1.to: "elm.bg.title";
- align: 0.0 0.0;
- min: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
- max: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_PADDING;
- fixed: 1 1;
- }
- desc { "subtitle_visible";
- inherit: "default";
- min: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_SUB_PADDING;
- max: POPUP_TITLE_LEFT_PADDING POPUP_TITLE_TOP_SUB_PADDING;
- }
- }
- spacer { "padding_title_bottom_right";
- scale;
- desc { "default";
- rel2.to: "elm.bg.title";
- align: 1.0 1.0;
- min: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
- max: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_PADDING;
- fixed: 1 1;
- }
- desc { "subtitle_visible";
- inherit: "default";
- min: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_SUB_PADDING;
- max: POPUP_TITLE_RIGHT_PADDING POPUP_TITLE_BOTTOM_SUB_PADDING;
- }
- }
- textblock { "elm.text.title";
- scale;
- desc { "default";
- rel1 {
- relative: 1.0 1.0;
- to: "padding_title_top_left";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_title_bottom_right";
- }
- fixed: 1 1;
- text.style: "popup_title_style";
- }
- desc { "subtitle_visible";
- inherit: "default";
- text.style: "popup_title_sub_style";
- rel2 {
- relative: 1.0 0.0;
- to: "elm.text.subtitle";
- }
- }
- }
- textblock { "elm.text.subtitle";
- scale;
- desc { "default";
- min: 0 POPUP_SUBTITLE_HEIGHT;
- max: -1 POPUP_SUBTITLE_HEIGHT;
- text.style: "popup_subtitle_style";
- rel1 {
- relative: 1.0 0.0;
- to_x: "padding_title_top_left";
- to_y: "padding_title_bottom_right";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_title_bottom_right";
- }
- align: 0.5 1.0;
- fixed: 1 1;
- hid;
- }
- desc { "subtitle_visible";
- inherit: "default";
- vis;
- }
- }
- rect { "access.title";
- mouse;
- repeat;
- desc { "default";
- rel.to: "elm.bg.title";
- color: 0 0 0 0;
- }
- }
- swallow { "elm.swallow.content";
- mouse;
- desc { "default";
- rel.to: "base";
- fixed: 1 0;
- }
- desc { "show_title_area";
- inherit: "default";
- rel1 {
- relative: 0.0 1.0;
- to_x: "base";
- to_y: "elm.bg.title";
- }
- rel2.to: "base";
- }
- desc { "show_action_area";
- inherit: "default";
- rel1.to: "base";
- rel2 {
- relative: 1.0 0.0;
- to_x: "base";
- to_y: "elm.swallow.action_area.bg";
- }
- }
- desc { "show_action_title_area";
- inherit: "default";
- rel1 {
- relative: 0.0 1.0;
- to_x: "base";
- to_y: "elm.bg.title";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "base";
- to_y: "elm.swallow.action_area.bg";
- }
- }
- }
- rect { "access.body";
- mouse;
- repeat;
- desc { "default";
- rel.to: "elm.swallow.content";
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- rect { "elm.swallow.action_area.bg";
- mouse;
- scale;
- desc { "default";
- rel1 {
- relative: 0.0 1.0;
- to: "base";
- }
- rel2.to: "base";
- fixed : 1 1;
- align: 0.5 1.0;
- hid;
- }
- desc { "visible";
- inherit: "default";
- min: POPUP_BASE_DEFAULT_BUTTON_BG_DEFAULT_MIN_INC;
- color_class: "popup/default/bg_action";
- vis;
- }
- }
- swallow { "elm.swallow.action_area";
- mouse;
- desc { "default";
- rel.to: "elm.swallow.action_area.bg";
- }
- }
- }
-
- programs {
- program { "on_visible_subtitle_text";
- action: STATE_SET "subtitle_visible" 0.0;
- target: "padding_title_top_left";
- target: "padding_title_bottom_right";
- target: "elm.bg.title";
- target: "elm.text.title";
- target: "elm.text.subtitle";
- }
- program { "on_hidden_subtitle_text";
- action: STATE_SET "default" 0.0;
- target: "elm.text.title";
- target: "elm.text.subtitle";
- }
- program { "on_visible_title_area";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.action_area.bg", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
- else
- set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
- get_state(PART:"elm.text.title", st, 30, vl);
- if (!strcmp(st, "subtitle_visible"))
- set_state(PART:"elm.bg.title", "subtitle_visible", 0.0);
- else
- set_state(PART:"elm.bg.title", "visible", 0.0);
- }
- }
- program { "on_hidden_title_area";
- action: STATE_SET "default" 0.0;
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.action_area.bg", st, 30, vl);
- if ((!strcmp(st, "visible")) || (!strcmp(st, "landscape_visible")))
- set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
- else
- set_state(PART:"elm.swallow.content", "default", 0.0);
- set_state(PART:"elm.bg.title", "default", 0.0);
- }
- }
- program { "on_visible_action_area";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.bg.title", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.swallow.content", "show_action_area", 0.0);
- else
- set_state(PART:"elm.swallow.content", "show_action_title_area", 0.0);
- set_state(PART:"elm.swallow.action_area.bg", "visible", 0.0);
- }
- }
- program { "on_hidden_action_area";
- action: STATE_SET "default" 0.0;
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.bg.title", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.swallow.content", "default", 0.0);
- else
- set_state(PART:"elm.swallow.content", "show_title_area", 0.0);
- set_state(PART:"elm.swallow.action_area.bg", "default", 0.0);
- }
- }
- program { "on_orient_0";
- after: "portrait_mode";
- }
- program { "on_orient_90";
- after: "landscape_mode";
- }
- program { "on_orient_180";
- after: "portrait_mode";
- }
- program { "on_orient_270";
- after: "landscape_mode";
- }
- program { "portrait_mode";
- action: STATE_SET "default" 0.0;
- target: "base";
- after: "orientation_change";
- }
- program { "landscape_mode";
- action: STATE_SET "landscape" 0.0;
- target: "base";
- after: "orientation_change";
- }
- program { "orientation_change";
- action: SIGNAL_EMIT "elm,state,orientation,changed" "";
- }
-
- program { "on_visible_text";
- }
- program { "on_show";
- }
- program { "on_hide";
- }
- program { "on_show_access_highlight";
- }
- program { "on_hide_access_highlight";
- }
- }
-}
-
-group { "elm/popup/base/theme_bg";
- inherit: "elm/popup/base/default";
-
- parts{
- rect { "bg";
- desc { "default";
- hid;
- }
- }
- rect { "fg_color";
- mouse;
- repeat;
- desc { "default";
- color_class: "popup/theme_bg/overlay";
- rel.to: "elm.swallow.content";
- }
- }
- }
-}
-
-group { "elm/popup/base/toast";
- inherit: "elm/popup/base/event/default";
- nomouse;
-
- images {
- set {
- name: "core_popup_noti_bg.#";
- image {
- image: SMALL"images/Assist_Views/core_popup_noti_bg.#.png" COMP;
- }
- image {
- image: MEDIUM"images/Assist_Views/core_popup_noti_bg.#.png" COMP;
- }
- }
- set {
- name: "core_popup_noti_bg_stroke.#";
- image {
- image: SMALL"images/Assist_Views/core_popup_noti_bg_stroke.#.png" COMP;
- }
- image {
- image: MEDIUM"images/Assist_Views/core_popup_noti_bg_stroke.#.png" COMP;
- }
- }
- set {
- name: "focus_ef.#.png";
- image {
- image: "HD/images/focus_ef.#.png" COMP;
- }
- }
- }
-
- data {
- item: "default_orient" "2"; //top, center:1 bottom:2
- item: "popup_outside_pad" POPUP_OUTSIDE_PADDING;
- item: "access_highlight" "on";
- item: "hide_finished_signal" "on";
- }
-
- parts {
- spacer { "base";
- desc { "default";
- }
- }
- image { "bg";
- desc { "default";
- rel.to: "bg_outer";
- fixed: 1 1;
- image.normal: "core_popup_noti_bg.#";
- color_class: "popup/toast/bg";
- }
- }
- image { "bg_outer";
- desc { "default";
- rel1 {
- to_x: "base";
- to_y: "padding_top";
- relative: 0.0 1.0;
- }
- rel2 {
- to_x: "base";
- to_y: "padding_bottom";
- relative: 1.0 0.0;
- }
- fixed: 1 1;
- image.normal: "core_popup_noti_bg_stroke.#";
- color_class: "popup/toast/border";
- }
- }
- spacer { "padding_top";
- scale;
- desc { "default";
- rel.to: "base";
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- min: 0 POPUP_TOAST_BOTTOM_PAD_INC;
- max: -1 POPUP_TOAST_BOTTOM_PAD_INC;
- fixed: 0 1;
- }
- }
- spacer { "padding_bottom";
- scale;
- desc { "default";
- rel.to: "base";
- rel1.relative: 0.0 1.0;
- align: 0.5 1.0;
- min: 0 POPUP_TOAST_BOTTOM_PAD_INC;
- max: -1 POPUP_TOAST_BOTTOM_PAD_INC;
- fixed: 0 1;
- }
- }
- spacer { "padding_top_title";
- scale;
- desc { "default";
- rel1 {
- to: "padding_top";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "padding_top";
- relative: 1.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 POPUP_TOAST_TITLE_TOP_PAD_INC;
- max: -1 POPUP_TOAST_TITLE_TOP_PAD_INC;
- fixed: 0 1;
- }
- }
- spacer { "padding_bottom_title";
- scale;
- desc { "default";
- rel1 {
- to: "padding_bottom";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "padding_bottom";
- relative: 1.0 0.0;
- }
- align: 0.5 1.0;
- min: 0 POPUP_TOAST_TITLE_BOTTOM_PAD_INC;
- max: -1 POPUP_TOAST_TITLE_BOTTOM_PAD_INC;
- fixed: 0 1;
- }
- }
- spacer { "padding_left_title";
- scale;
- desc { "default";
- rel1 {
- to: "base";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "base";
- relative: 0.0 1.0;
- }
- align: 0.0 0.5;
- min: POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC 0;
- fixed: 1 0;
- }
- }
- spacer { "padding_right_title";
- scale;
- desc { "default";
- rel1 {
- to: "base";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "base";
- relative: 1.0 1.0;
- }
- align: 1.0 0.5;
- min: POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC 0;
- fixed: 1 0;
- }
- }
- textblock { "elm.text";
- scale;
- desc { "default";
- rel1 {
- to_x: "padding_left_title";
- to_y: "padding_top_title";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "padding_right_title";
- to_y: "padding_bottom_title";
- relative: 0.0 0.0;
- }
- align: 0.5 1.0;
- min: POPUP_TOAST_TEXT_MIN_WIDTH_INC POPUP_TOAST_TEXT_MIN_HEIGHT_INC;
- max: POPUP_TOAST_TEXT_MAX_WIDTH_INC POPUP_TOAST_TEXT_MAX_HEIGHT_INC;
- text {
- style: "popup_toast_style";
- min: 1 1;
- max: 0 1;
- }
- }
- desc { "multiline";
- inherit: "default" 0.0;
- min: POPUP_TOAST_TEXT_MULTI_LINE_MIN_INC POPUP_TOAST_TEXT_MIN_HEIGHT_INC;
- text.min: 0 1;
- }
- }
- swallow { "elm.swallow.content";
- mouse;
- desc { "default";
- rel1 {
- to: "padding_top_title";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "padding_bottom_title";
- relative: 1.0 0.0;
- }
- align: 0.5 1.0;
- }
- }
- rect { "clipper";
- desc { "default";
- rel.to: "base";
- color: 255 255 255 0;
- fixed: 1 1;
- }
- desc { "show_effect";
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- spacer { "sizer_multiline";
- scale;
- desc { "default";
- min: POPUP_TOAST_TEXT_MULTI_LINE_MIN_INC POPUP_TOAST_TEXT_MIN_HEIGHT_INC;
- fixed: 1 1;
- }
- }
- image { "highlight";
- clip: "clipper";
- desc { "default";
- image.normal: "focus_ef.#.png";
- color: 0 218 230 100;
- fill.smooth: 0;
- rel1.to: "bg";
- rel2.to: "bg";
- hid;
- }
- desc { "visible";
- inherit: "default";
- vis;
- }
- }
- }
-
- programs {
- program { "on_visible_text";
- script {
- new tx1, ty1, tw1, th1, tx2, ty2, tw2, th2;
- get_geometry(PART:"elm.text", tx1, ty1, tw1, th1);
- get_geometry(PART:"sizer_multiline", tx2, ty2, tw2, th2);
- if (tw1 >= tw2)
- set_state(PART:"elm.text", "multiline", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- program { "on_show";
- }
- program { "on_hide";
- }
- program { "on_show_access_highlight";
- action: STATE_SET "visible" 0.0;
- target: "highlight";
- }
- program { "on_hide_access_highlight";
- action: STATE_SET "default" 0.0;
- target: "highlight";
- }
-
- program { "on_visible_subtitle_text";
- }
- program { "on_hidden_subtitle_text";
- }
- program { "on_visible_title_area";
- }
- program { "on_hidden_title_area";
- }
- program { "on_visible_action_area";
- }
- program { "on_hidden_action_area";
- }
- program { "on_orient_0";
- }
- program { "on_orient_90";
- }
- program { "on_orient_180";
- }
- program { "on_orient_270";
- }
- }
-}
-
-/* popup/content */
-
-group { "elm/popup/content/popup/default";
- alias: "elm/popup/content/popup/transparent";
- alias: "elm/popup/content/transparent";
- alias: "elm/popup/content/popup/theme_bg";
- alias: "elm/popup/content/default";
- inherit: "elm/popup/content/event/default";
- nomouse;
-
- data.item: "content_area_width" POPUP_CONTENT_AREA_LANDSCAPE_WIDTH_INC;
-
- parts {
- spacer { "base";
- desc { "default";
- }
- }
- swallow { "elm.swallow.content";
- scale;
- mouse;
- desc { "default";
- min: POPUP_CONTENT_AREA_DEFAULT_MIN_INC;
- }
- desc { "landscape";
- min: POPUP_CONTENT_AREA_LANDSCAPE_MIN_INC;
- }
- }
- }
-
- programs {
- program { "on_orient_0";
- after: "portrait_mode";
- }
- program { "on_orient_90";
- after: "landscape_mode";
- }
- program { "on_orient_180";
- after: "portrait_mode";
- }
- program { "on_orient_270";
- after: "landscape_mode";
- }
- program { "portrait_mode";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- after: "orientation_change";
- }
- program { "landscape_mode";
- action: STATE_SET "landscape" 0.0;
- target: "elm.swallow.content";
- after: "orientation_change";
- }
- program { "orientation_change";
- action: SIGNAL_EMIT "elm,state,orientation,changed" "";
- }
- }
-}
-
-group { "elm/popup/content/popup/toast";
- alias: "elm/popup/content/toast";
- inherit: "elm/popup/content/event/default";
- nomouse;
-
- parts{
- spacer { "base";
- desc { "default";
- }
- }
- spacer { "padding_left";
- scale;
- desc { "default";
- rel.to: "base";
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- min: POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC 0;
- fixed: 1 0;
- }
- }
- spacer { "padding_right";
- scale;
- desc { "default";
- rel.to: "base";
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.5;
- min: POPUP_TOAST_TITLE_LEFT_RIGHT_PAD_INC 0;
- fixed: 1 0;
- }
- }
- swallow { "elm.swallow.content";
- mouse;
- desc { "default";
- rel1 {
- to_x: "padding_left";
- to_y: "base";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "padding_right";
- to_y: "base";
- relative: 0.0 1.0;
- }
- }
- }
- }
-
- programs {
- program { "on_orient_0";
- }
- program { "on_orient_90";
- }
- program { "on_orient_180";
- }
- program { "on_orient_270";
- }
- }
-}
-
-/* popup/buttons */
-
-
-group { "elm/popup/buttons1/popup/default";
- alias: "elm/popup/buttons1/default";
- alias: "elm/popup/buttons1/popup/transparent";
- alias: "elm/popup/buttons1/transparent";
- alias: "elm/popup/buttons1/popup/theme_bg";
- nomouse;
-
- data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
-
- parts{
- spacer { "padding_left_btn";
- scale;
- desc { "default";
- align: 0 0.5;
- min: POPUP_BUTTON1_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON1_DEFAULT_HEIGHT_INC;
- max: POPUP_BUTTON1_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON1_DEFAULT_HEIGHT_INC;
- fixed: 1 1;
- }
- }
- spacer { "padding_right_btn";
- scale;
- desc { "default";
- rel2.relative: 1.0 1.0;
- align: 1 0.5;
- min: POPUP_BUTTON1_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON1_DEFAULT_HEIGHT_INC;
- max: POPUP_BUTTON1_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON1_DEFAULT_HEIGHT_INC;
- fixed: 1 1;
- }
- }
- swallow { "actionbtn1";
- mouse;
- desc { "default";
- rel1 {
- to: "padding_left_btn";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "padding_right_btn";
- relative: 0.0 1.0;
- }
- fixed: 1 1;
- }
- }
- }
-}
-
-group { "elm/popup/buttons2/popup/default";
- alias: "elm/popup/buttons2/default";
- alias: "elm/popup/buttons2/popup/transparent";
- alias: "elm/popup/buttons2/transparent";
- alias: "elm/popup/buttons2/popup/theme_bg";
- nomouse;
-
- data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
-
- parts{
- spacer { "padding_left_btn";
- scale;
- desc { "default";
- rel1.relative: 0.0 0.0;
- align: 0 0.5;
- min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
- max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
- fixed: 1 1;
- }
- }
- spacer { "padding_right_btn";
- scale;
- desc { "default";
- rel2.relative: 1.0 1.0;
- align: 1 0.5;
- min: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
- max: POPUP_BUTTON2_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON2_DEFAULT_HEIGHT_INC;
- fixed: 1 1;
- }
- }
- swallow { "actionbtn1";
- mouse;
- desc { "default";
- rel1 {
- to: "padding_left_btn";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "padding_divider_btn";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- fixed: 1 1;
- }
- }
- spacer { "padding_divider_btn";
- scale;
- desc { "default";
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- min: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
- max: POPUP_BUTTON2_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
- fixed: 1 1;
- }
- }
- swallow { "actionbtn2";
- mouse;
- desc { "default";
- rel1 {
- to: "padding_divider_btn";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "padding_right_btn";
- relative: 0.0 1.0;
- }
- align: 0.0 0.5;
- fixed: 1 1;
- }
- }
- }
-}
-
-group { "elm/popup/buttons3/popup/default";
- alias: "elm/popup/buttons3/default";
- alias: "elm/popup/buttons3/popup/transparent";
- alias: "elm/popup/buttons3/transparent";
- alias: "elm/popup/buttons3/popup/theme_bg";
- nomouse;
-
- data.item: "action_area_height" POPUP_BUTTON_DEFAULT_ACTION_AREA_HEIGHT;
-
- parts{
- spacer { "padding_left_btn";
- scale;
- desc { "default";
- rel1.relative: 0.0 0.0;
- align: 0 0.5;
- min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
- max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
- fixed: 1 1;
- }
- }
- spacer { "padding_right_btn";
- scale;
- desc { "default";
- rel2.relative: 1.0 1.0;
- align: 1 0.5;
- min: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
- max: POPUP_BUTTON3_DEFAULT_PADDING_LEFT_RIGHT_WIDTH_INC POPUP_BUTTON3_DEFAULT_HEIGHT_INC;
- fixed: 1 1;
- }
- }
- spacer { "sizer_button";
- desc { "default";
- rel1 {
- to: "padding_left_btn";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "padding_right_btn";
- relative: 0.0 1.0;
- }
- fixed: 1 1;
- }
- }
- swallow { "actionbtn1";
- mouse;
- desc { "default";
- rel1 {
- to: "padding_left_btn";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "padding_divider_btn";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- fixed: 1 1;
- }
- }
- spacer { "padding_divider_btn";
- scale;
- desc { "default";
- rel1 {
- to: "sizer_button";
- relative: 0.33 0.0;
- }
- rel2 {
- to: "sizer_button";
- relative: 0.33 1.0;
- }
- min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
- max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
- fixed: 1 1;
- }
- }
- swallow { "actionbtn2";
- mouse;
- desc { "default";
- rel1 {
- to: "padding_divider_btn";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "padding_divider_btn2";
- relative: 0.0 1.0;
- }
- fixed: 1 1;
- }
- }
- spacer { "padding_divider_btn2";
- scale;
- desc { "default";
- rel1 {
- to: "sizer_button";
- relative: 0.67 0.0;
- }
- rel2 {
- to: "sizer_button";
- relative: 0.67 1.0;
- }
- min: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
- max: POPUP_BUTTON3_DEFAULT_PADDING_BUTTON_MIN_MAX_INC;
- fixed: 1 1;
- }
- }
- swallow { "actionbtn3";
- mouse;
- desc { "default";
- rel1 {
- to: "padding_divider_btn2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "padding_right_btn";
- relative: 0.0 1.0;
- }
- align: 0.0 0.5;
- fixed: 1 1;
- }
- }
- }
-}
-
-/* label for popup */
-
-group { "elm/label/base/popup/default";
- alias: "elm/label/base/popup/center_popup";
- alias: "elm/label/base/popup/transparent";
- alias: "elm/label/base/popup/theme_bg";
-
- parts {
- rect { "pad_t";
- scale;
- desc { "default";
- rel1 {
- to_x: "pad_l";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "pad_r";
- relative: 0.0 0.0;
- }
- align: 0.5 0.0;
- min: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
- max: 0 POPUP_CONTENT_DEFAULT_PADDING_TOP_MIN_INC;
- fixed: 0 1;
- hid;
- }
- }
- rect { "pad_l";
- scale;
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- min: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
- max: POPUP_CONTENT_DEFAULT_PADDING_LEFT_MIN_INC 0;
- fixed: 1 0;
- hid;
- }
- }
- rect { "pad_r";
- scale;
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- min: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
- max: POPUP_CONTENT_DEFAULT_PADDING_RIGHT_MIN_INC 0;
- fixed: 1 0;
- hid;
- }
- }
- textblock { "elm.text";
- scale;
- desc { "default";
- rel1 {
- to_x: "pad_l";
- to_y: "pad_t";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "pad_r";
- to_y: "pad_b";
- relative: 0.0 0.0;
- }
- fixed: 1 0;
- text {
- style: "popup_desc_style";
- min: 0 1;
- max: 0 1;
- }
- }
- }
- rect { "pad_b";
- scale;
- desc { "default";
- rel1 {
- to_x: "pad_l";
- relative: 0.0 1.0;
- }
- rel2.to_x: "pad_r";
- align: 0.5 1.0;
- min: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
- max: 0 POPUP_CONTENT_DEFAULT_PADDING_BOTTOM_MIN_INC;
- fixed: 0 1;
- hid;
- }
- }
- }
-}
-
-group { "elm/label/base/popup/toast";
- parts {
- textblock { "elm.text";
- scale;
- desc { "default";
- min: POPUP_TOAST_TEXT_MIN_WIDTH_INC POPUP_TOAST_TEXT_MIN_HEIGHT_INC;
- max: POPUP_TOAST_TEXT_MAX_WIDTH_INC POPUP_TOAST_TEXT_MAX_HEIGHT_INC;
- text {
- style: "popup_toast_style";
- min: 1 1;
- }
- }
- }
- }
-}
-
-
-group { name: "elm/popup/item/popup/default";
- alias: "elm/popup/item/popup/theme_bg";
-
- parts {
- spacer { "base";
- desc { "default";
- }
- }
- rect { "bg";
- scale;
- desc { "default";
- rel.to: "base";
- min: POPUP_ITEM_BASE_DEFAULT_MIN_INC;
- color_class: "popup_item/default/bg";
- }
- desc { "clicked";
- inherit: "default";
- color_class: "popup_item/default/bg_pressed";
- }
- }
- spacer { "padding_left_icon";
- scale;
- desc { "default";
- rel.to: "base";
- align: 0.0 0.5;
- min: POPUP_ITEM_PADDING_LEFT_RIGHT_WIDTH_INC 0;
- max: POPUP_ITEM_PADDING_LEFT_RIGHT_WIDTH_INC 0;
- fixed: 1 1;
- }
- }
- swallow { "elm.swallow.content";
- scale;
- mouse;
- desc { "default";
- rel1 {
- to_x: "padding_left_icon";
- to_y: "base";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "padding_left_icon";
- to_y: "base";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- min: POPUP_ITEM_ICON_SIZE_INC;
- max: POPUP_ITEM_ICON_SIZE_INC;
- aspect: 1.0 1.0;
- }
- }
- spacer { "padding_right_icon";
- scale;
- desc { "default";
- rel1 {
- to_x: "elm.swallow.content";
- to_y: "base";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.swallow.content";
- to_y: "base";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- min: POPUP_ITEM_ICON_LEFT_PADDING 0;
- max: POPUP_ITEM_ICON_LEFT_PADDING 0;
- fixed: 1 1;
- }
- }
- text { "elm.text";
- scale;
- desc { "default";
- rel1 {
- to_x: "padding_left_icon";
- to_y: "base";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "padding_right_text";
- to_y: "base";
- relative: 0.0 1.0;
- }
- align: 0.0 0.5;
- min: 1 POPUP_ITEM_TEXT_MIN_HEIGHT_INC;
- color_class: "popup_item/default/text";
- text {
- font: "Tizen:weight=Light"; size: "40";
- text_class: "list_item";
- align: -1.0 0.5;
- min: 0 1;
- }
- }
- desc { "visible_icon";
- inherit: "default";
- rel1.to_x: "padding_right_icon";
- }
- }
- spacer { "padding_right_text";
- scale;
- desc { "default";
- rel.to: "base";
- align: 1.0 0.5;
- min: POPUP_ITEM_PADDING_LEFT_RIGHT_WIDTH_INC 0;
- max: POPUP_ITEM_PADDING_LEFT_RIGHT_WIDTH_INC 0;
- }
- }
- rect { "event";
- mouse;
- norepeat;
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- }
- }
-
- programs {
- program { "on_clicked";
- signal: "mouse,clicked,1";
- source: "event";
- action: SIGNAL_EMIT "elm,action,click" "elm";
- }
- program { "visible_icon";
- signal: "elm,state,item,icon,visible";
- source: "elm";
- action: STATE_SET "visible_icon";
- target: "elm.text";
- }
- program { "hidden_icon";
- signal: "elm,state,item,icon,hidden";
- source: "elm";
- action: STATE_SET "default";
- target: "elm.text";
- }
- program { "on_pressed";
- signal: "mouse,down,1";
- source: "event";
- script {
- set_state(PART:"bg", "clicked", 0.0);
- }
- }
- program { "on_unpressed";
- signal: "mouse,up,1";
- source: "event";
- script {
- set_state(PART:"bg", "default", 0.0);
- }
- }
- }
-}