summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeonghyun Yun <jh0506.yun@samsung.com>2018-06-18 07:22:27 (GMT)
committerJeonghyun Yun <jh0506.yun@samsung.com>2018-06-19 00:59:11 (GMT)
commit85d208b0360fdcc43a1ae4c74edce3771fe62ef4 (patch)
tree8dc2b0701b696a44bc05cb8a6c45b5472e9a2cfa
parent5d3eb805bd21974b4f6af50e9257eafdf4d719d8 (diff)
downloadefl-theme-tizen-mobile-85d208b0360fdcc43a1ae4c74edce3771fe62ef4.zip
efl-theme-tizen-mobile-85d208b0360fdcc43a1ae4c74edce3771fe62ef4.tar.gz
efl-theme-tizen-mobile-85d208b0360fdcc43a1ae4c74edce3771fe62ef4.tar.bz2
csharp: Added elm-sharp-theme-fhub package for FamilyHubsubmit/tizen/20180619.012019refs/changes/05/181905/2
Change-Id: Ibac3987fbc3b2d13ac95ed25f7efc0f368be999f Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
-rw-r--r--mobile/Makefile.am19
-rw-r--r--mobile/elm-sharp-theme-fhub.edc131
-rw-r--r--mobile/widgets_csharp/popup.edc2338
-rw-r--r--packaging/efl-theme-tizen-mobile.spec36
4 files changed, 2520 insertions, 4 deletions
diff --git a/mobile/Makefile.am b/mobile/Makefile.am
index 7e9f9c5..186811e 100644
--- a/mobile/Makefile.am
+++ b/mobile/Makefile.am
@@ -43,20 +43,33 @@ all:
-id ./HD/images/Copy_Paste\
-id ./HD/images/Emoticon\
-id ./HD/images/Old\
- $(CSHARP_SRC)-mobile.edc $(CSHARP_SRC).edj;
+ $(CSHARP_SRC)-mobile.edc $(CSHARP_SRC)-mobile.edj;
+ edje_cc $(EDJE_FLAGS) $(EDJE_FLAGS_$(V)) \
+ -id default/images/tizen-hd -sd default/sounds -fd ../objects \
+ -id ./HD/images/\
+ -id ./HD/images/Navigation_elements\
+ -id ./HD/images/Presentation_views\
+ -id ./HD/images/User_Input_Elements\
+ -id ./HD/images/Assist_Views\
+ -id ./HD/images/Copy_Paste\
+ -id ./HD/images/Emoticon\
+ -id ./HD/images/Old\
+ $(CSHARP_SRC)-fhub.edc $(CSHARP_SRC)-fhub.edj;
clean:
rm -rf $(SRC).edj;
rm -rf $(DEFAULT_SRC).edj;
- rm -rf $(CSHARP_SRC).edj;
+ rm -rf $(CSHARP_SRC)-mobile.edj;
+ rm -rf $(CSHARP_SRC)-fhub.edj;
install:
mkdir -p $(THEME_DIR);
mkdir -p $(CSHARP_THEME_DIR);
$(INSTALL) $(SRC).edj $(THEME_DIR);
$(INSTALL) $(DEFAULT_SRC).edj $(THEME_DIR);
- $(INSTALL) $(CSHARP_SRC).edj $(CSHARP_THEME_DIR);
+ $(INSTALL) $(CSHARP_SRC)-mobile.edj $(CSHARP_THEME_DIR);
+ $(INSTALL) $(CSHARP_SRC)-fhub.edj $(CSHARP_THEME_DIR);
uninstall:
rm -rf $(THEME_DIR);
diff --git a/mobile/elm-sharp-theme-fhub.edc b/mobile/elm-sharp-theme-fhub.edc
new file mode 100644
index 0000000..974c9b4
--- /dev/null
+++ b/mobile/elm-sharp-theme-fhub.edc
@@ -0,0 +1,131 @@
+/*
+ * Copyright (c) 2015 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.
+ */
+
+// LICENSE NOTE:
+// This file (and only this one) is licenses under public-domain. The reason
+// is that this is meant to serve as a template for making your own themes and
+// Elementary's LGPL license is not intended to follow. The images used do come
+// under LGPL, but this file specifically for the structure of your theme is
+// public-domain. This means you can take, use, re-license and otherwise
+// have zero restrictions on using this file as a base for your theme.
+
+//****************************************************************************************//
+// This is theme body including all widget bodys
+// Define shared descriptions (e.g. sound samples, color classes, textblock styles) in here
+// Do not define size(width, height) in here!!!!
+//****************************************************************************************//
+
+// Include INC (e.g. HD-inc.edc, HVGA-inc.edc for each resolution) file
+#include "HD-inc.edc"
+
+#undef BASE_SCALE_INC
+#define BASE_SCALE_INC 1.0
+
+externals {
+ external: "elm";
+ external: "feedback";
+}
+
+// BUILD_FIX: Add version to edc as 110.
+data.item: "version" "110";
+//
+
+collections {
+ base_scale: BASE_SCALE_INC;
+ plugins {
+ plugin {
+ name: "touch_sound";
+ source: "feedback";
+ param: "FEEDBACK_TYPE_SOUND FEEDBACK_PATTERN_TAP"; // FEEDBACK_TYPE_SOUND, FEEDBACK_PATTERN_TOUCH_TAP
+
+ /* 2014.06.11 updated from libsvi(feedback)
+ Above plugin will run below external function:
+ int feedback_play_type(feedback_type_e type, feedback_pattern_e pattern);
+
+ param1: feedback_type_e
+ FEEDBACK_TYPE_NONE = 0,
+ FEEDBACK_TYPE_SOUND = 1,
+ FEEDBACK_TYPE_VIBRATION,
+ FEEDBACK_TYPE_LED,
+ FEEDBACK_TYPE_END
+
+ * param2 enumeration:
+ FEEDBACK_PATTERN_TAP = 0,
+ FEEDBACK_PATTERN_SIP,
+ FEEDBACK_PATTERN_SIP_BACKSPACE,
+ FEEDBACK_PATTERN_SIP_FUNCTION,
+ FEEDBACK_PATTERN_SIP_FJKEY,
+ ...
+
+ * For more information please refer libsvi.
+ */
+ }
+ }
+
+#include "color_classes.edc"
+
+#include "widgets/bg.edc"
+#include "widgets/button.edc"
+#include "widgets/calendar.edc"
+#include "widgets/conform.edc"
+#include "widgets/ctxpopup.edc"
+#include "widgets/flipselector.edc"
+#include "widgets/focus_highlight.edc"
+#include "widgets/genlist.edc"
+#include "widgets/label.edc"
+#include "widgets/layout.edc"
+#include "widgets/naviframe.edc"
+#include "widgets/scroller.edc"
+#include "widgets/panel.edc"
+#include "widgets/toolbar.edc"
+#include "widgets/gengrid.edc"
+#include "widgets/entry.edc"
+#include "widgets/slider.edc"
+#include "widgets/spinner.edc"
+#include "widgets/datetime.edc"
+#include "widgets/colorselector.edc"
+#include "widgets/progressbar.edc"
+#include "widgets/check.edc"
+#include "widgets/radio.edc"
+#include "widgets/index.edc"
+//#include "widgets/popup.edc"
+#include "widgets/multibuttonentry.edc"
+#include "widgets/win.edc"
+#include "widgets/hover.edc"
+#include "widgets/list.edc"
+#include "widgets/floatingbutton.edc"
+
+#include "widgets_csharp/layout.edc"
+#include "widgets_csharp/popup.edc"
+
+ color_classes {
+ color_class {
+ name: "transparent";
+ color: 0 0 0 0;
+ }
+ }
+}
+
diff --git a/mobile/widgets_csharp/popup.edc b/mobile/widgets_csharp/popup.edc
new file mode 100644
index 0000000..d61d1c9
--- /dev/null
+++ b/mobile/widgets_csharp/popup.edc
@@ -0,0 +1,2338 @@
+/*
+ * 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);
+ }
+ }
+ }
+}
diff --git a/packaging/efl-theme-tizen-mobile.spec b/packaging/efl-theme-tizen-mobile.spec
index fc1704d..78c13c5 100644
--- a/packaging/efl-theme-tizen-mobile.spec
+++ b/packaging/efl-theme-tizen-mobile.spec
@@ -30,6 +30,14 @@ License: BSD-2-Clause
%description -n elm-sharp-theme-mobile
EFL themes for Elm-Sharp Mobile
+%package -n elm-sharp-theme-fhub
+Summary: EFL themes for Elm-Sharp FHub
+Group: Mobile/Themes
+License: BSD-2-Clause
+
+%description -n elm-sharp-theme-fhub
+EFL themes for Elm-Sharp FHub
+
%prep
%setup -q
@@ -59,8 +67,34 @@ rm -rf %{buildroot}
#TODO - later
#%{DEVEL_PREFIX}/*
+%post -n elm-sharp-theme-mobile
+mv %{_datadir}/elm-sharp/elm-sharp-theme-mobile.edj %{_datadir}/elm-sharp/elm-sharp-theme.edj
+/sbin/ldconfig
+
+%preun -n elm-sharp-theme-mobile
+mv %{_datadir}/elm-sharp/elm-sharp-theme.edj %{_datadir}/elm-sharp/elm-sharp-theme-mobile.edj
+
+%postun -n elm-sharp-theme-mobile
+/sbin/ldconfig
+
%files -n elm-sharp-theme-mobile
%defattr(-,root,root,-)
-%{_datadir}/elm-sharp/elm-sharp-theme.edj
+%{_datadir}/elm-sharp/elm-sharp-theme-mobile.edj
+%manifest %{name}.manifest
+%license COPYING
+
+%post -n elm-sharp-theme-fhub
+mv %{_datadir}/elm-sharp/elm-sharp-theme-fhub.edj %{_datadir}/elm-sharp/elm-sharp-theme.edj
+/sbin/ldconfig
+
+%preun -n elm-sharp-theme-fhub
+mv %{_datadir}/elm-sharp/elm-sharp-theme.edj %{_datadir}/elm-sharp/elm-sharp-theme-fhub.edj
+
+%postun -n elm-sharp-theme-fhub
+/sbin/ldconfig
+
+%files -n elm-sharp-theme-fhub
+%defattr(-,root,root,-)
+%{_datadir}/elm-sharp/elm-sharp-theme-fhub.edj
%manifest %{name}.manifest
%license COPYING